mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
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:
parent
e9875b7610
commit
eea39a8e42
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user