mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
Also account for colors in math macros.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34325 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6c4de0377c
commit
beb3fa70e8
@ -592,6 +592,7 @@ void MathMacroTemplate::metrics(MetricsInfo & mi, Dimension & dim) const
|
|||||||
|
|
||||||
void MathMacroTemplate::draw(PainterInfo & pi, int x, int y) const
|
void MathMacroTemplate::draw(PainterInfo & pi, int x, int y) const
|
||||||
{
|
{
|
||||||
|
ColorChanger dummy0(pi.base.font, from_ascii("math"));
|
||||||
FontSetChanger dummy1(pi.base, from_ascii("mathnormal"));
|
FontSetChanger dummy1(pi.base, from_ascii("mathnormal"));
|
||||||
StyleChanger dummy2(pi.base, LM_ST_TEXT);
|
StyleChanger dummy2(pi.base, LM_ST_TEXT);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user