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
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
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);