From: André Pönitz Date: Fri, 12 Oct 2001 13:15:34 +0000 (+0000) Subject: fix off-by-one-pixel drawing problem X-Git-Tag: 1.6.10~20490 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=bb3a2ccaa5b3864ff9a284b7cb82f98793b82feb;p=features.git fix off-by-one-pixel drawing problem git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2870 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/formula.C b/src/mathed/formula.C index 0e4ab85af1..2c1723812a 100644 --- a/src/mathed/formula.C +++ b/src/mathed/formula.C @@ -357,13 +357,13 @@ bool InsetFormula::insetAllowed(Inset::Code code) const int InsetFormula::ascent(BufferView *, LyXFont const &) const { - return par_->ascent() + 1; + return par_->ascent() + 2; } int InsetFormula::descent(BufferView *, LyXFont const &) const { - return par_->descent() + 1; + return par_->descent() - 2; }