mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
Fix bug 4320
http://bugzilla.lyx.org/show_bug.cgi?id=4320 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25396 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2dd4b555f9
commit
e71b09793f
12
lib/symbols
12
lib/symbols
@ -865,13 +865,13 @@ gcd lyxblacktext 0 0 funclim x
|
|||||||
deg lyxblacktext 0 0 func x
|
deg lyxblacktext 0 0 func x
|
||||||
bmod lyxblacktext 0 0 func x
|
bmod lyxblacktext 0 0 func x
|
||||||
|
|
||||||
{ mathnormal 0 0 special x
|
{ mathrm 0 0 special x
|
||||||
} mathnormal 0 0 special x
|
} mathrm 0 0 special x
|
||||||
$ mathnormal 0 0 special x
|
$ mathrm 0 0 special x
|
||||||
% mathnormal 0 0 special x
|
% mathrm 0 0 special x
|
||||||
& mathnormal 0 0 special x
|
& mathrm 0 0 special x
|
||||||
## don't remove the space from the beginning of the next line
|
## don't remove the space from the beginning of the next line
|
||||||
# mathnormal 0 0 special x
|
# mathrm 0 0 special x
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -63,6 +63,7 @@ bool InsetMathBrace::metrics(MetricsInfo & mi, Dimension & dim) const
|
|||||||
void InsetMathBrace::draw(PainterInfo & pi, int x, int y) const
|
void InsetMathBrace::draw(PainterInfo & pi, int x, int y) const
|
||||||
{
|
{
|
||||||
Font font = pi.base.font;
|
Font font = pi.base.font;
|
||||||
|
font.setShape(Font::UP_SHAPE);
|
||||||
font.setColor(Color::latex);
|
font.setColor(Color::latex);
|
||||||
Dimension t = theFontMetrics(font).dimension('{');
|
Dimension t = theFontMetrics(font).dimension('{');
|
||||||
pi.pain.text(x, y, '{', font);
|
pi.pain.text(x, y, '{', font);
|
||||||
|
Loading…
Reference in New Issue
Block a user