From: Enrico Forestieri Date: Tue, 24 Jun 2008 05:51:15 +0000 (+0000) Subject: Fix bug 4320 X-Git-Tag: 1.6.10~4292 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4fa59cbd9b0972905d6274cb0688e674e6ddae06;p=lyx.git 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 --- diff --git a/lib/symbols b/lib/symbols index 5e20c9a596..71ade6c824 100644 --- a/lib/symbols +++ b/lib/symbols @@ -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 diff --git a/src/mathed/InsetMathBrace.cpp b/src/mathed/InsetMathBrace.cpp index d5b6da44dc..2ad39048e2 100644 --- a/src/mathed/InsetMathBrace.cpp +++ b/src/mathed/InsetMathBrace.cpp @@ -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);