don't draw spaces...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3739 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-03-13 11:22:01 +00:00
parent e9875b7610
commit eea39a8e42

View File

@ -760,15 +760,9 @@ void drawChar(Painter & pain, MathTextCodes type, MathMetricsInfo const & size,
{
LyXFont font;
whichFont(font, type, size);
if (isBinaryOp(c, type)) {
pain.text(x, y, ' ', font);
if (isBinaryOp(c, type))
x += lyxfont::width(' ', font);
pain.text(x, y, c, font);
x += lyxfont::width(c, font);
pain.text(x, y, ' ', font);
} else {
pain.text(x, y, c, font);
}
pain.text(x, y, c, font);
}