mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 00:38:01 +00:00
Fix color of \Omega.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19609 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
412e3b8052
commit
5a82011b90
@ -287,6 +287,7 @@ int QLPainter::text(int x, int y, docstring const & s,
|
|||||||
// occurs at a line-break. As a kludge, we force Qt to
|
// occurs at a line-break. As a kludge, we force Qt to
|
||||||
// render this glyph using a one-column line.
|
// render this glyph using a one-column line.
|
||||||
if (s.size() == 1 && str[0].unicode() == 0x00ad) {
|
if (s.size() == 1 && str[0].unicode() == 0x00ad) {
|
||||||
|
setQPainterPen(f.realColor());
|
||||||
QTextLayout adsymbol(str);
|
QTextLayout adsymbol(str);
|
||||||
adsymbol.setFont(fi.font);
|
adsymbol.setFont(fi.font);
|
||||||
adsymbol.beginLayout();
|
adsymbol.beginLayout();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user