From 63f7e8ce2e055f7019ab633270521bb92de26a51 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Wed, 10 Jul 2002 06:12:00 +0000 Subject: [PATCH] baseline correction for wasy symbols git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4576 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_symbolinset.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mathed/math_symbolinset.C b/src/mathed/math_symbolinset.C index e862aa53ec..1cb291f50e 100644 --- a/src/mathed/math_symbolinset.C +++ b/src/mathed/math_symbolinset.C @@ -49,7 +49,7 @@ void MathSymbolInset::metrics(MathMetricsInfo & mi) const MathFontSetChanger dummy(mi.base, sym_->inset.c_str()); mathed_string_dim(mi.base.font, sym_->draw, ascent_, descent_, width_); // correct height for broken cmex font - if (sym_->inset == "cmex") { + if (sym_->inset == "cmex" || sym_->inset == "wasy") { h_ = 4 * descent_ / 5; ascent_ += h_; descent_ -= h_; -- 2.39.2