Skip to content

Commit b650fb5

Browse files
committed
Fix glyph outline drawing
The painter state should be restored before drawing the fill. Fixes scribusproject#19.
1 parent 70085d9 commit b650fb5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

scribus/pageitem_textframe.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3328,11 +3328,11 @@ class TextFramePainter: public TextLayoutPainter
33283328
m_painter->strokePath();
33293329
}
33303330

3331-
if (fill)
3332-
drawGlyph(gl, selected);
3333-
33343331
m_painter->setFillRule(fr);
33353332
m_painter->restore();
3333+
3334+
if (fill)
3335+
drawGlyph(gl, selected);
33363336
}
33373337

33383338
void drawLine(QPointF start, QPointF end)

0 commit comments

Comments
 (0)