Fix bug 4320

http://bugzilla.lyx.org/show_bug.cgi?id=4320


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25367 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2008-06-24 05:51:15 +00:00
parent c628af8381
commit 4fa59cbd9b
2 changed files with 7 additions and 6 deletions

View File

@ -865,13 +865,13 @@ gcd lyxblacktext 0 0 funclim x
deg lyxblacktext 0 0 func x
bmod lyxblacktext 0 0 func x
{ mathnormal 0 0 special x
} mathnormal 0 0 special x
$ mathnormal 0 0 special x
% mathnormal 0 0 special x
& mathnormal 0 0 special x
{ mathrm 0 0 special x
} mathrm 0 0 special x
$ mathrm 0 0 special x
% mathrm 0 0 special x
& mathrm 0 0 special x
## don't remove the space from the beginning of the next line
# mathnormal 0 0 special x
# mathrm 0 0 special x

View File

@ -59,6 +59,7 @@ void InsetMathBrace::metrics(MetricsInfo & mi, Dimension & dim) const
void InsetMathBrace::draw(PainterInfo & pi, int x, int y) const
{
FontInfo font = pi.base.font;
font.setShape(UP_SHAPE);
font.setColor(Color_latex);
Dimension t = theFontMetrics(font).dimension('{');
pi.pain.text(x, y, '{', font);