]> git.lyx.org Git - lyx.git/commitdiff
Fix bug 4320
authorEnrico Forestieri <forenr@lyx.org>
Tue, 24 Jun 2008 05:51:15 +0000 (05:51 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Tue, 24 Jun 2008 05:51:15 +0000 (05:51 +0000)
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

lib/symbols
src/mathed/InsetMathBrace.cpp

index 5e20c9a596d592e5f65fc7889358176ce67dd4dd..71ade6c82449854d592974fda8fac8c381aae66f 100644 (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
 
 
 
index d5b6da44dc768f3cb3f09a8fea6a8ba4570eaff4..2ad39048e2d306f42cfbc29983d187348079195f 100644 (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);