r13937 by fschmid - Applied Patch from Bug #8396: "In-line text frames do not display on screen"

scribus-commit scribus-commit at lists.scribus.net
Sat Aug 29 09:55:30 CEST 2009


Revision: 13937
Author: fschmid
Date: 2009-08-29T07:55:04.291882Z
Commit message: Applied Patch from Bug #8396: "In-line text frames do not display on screen"

Changeset: 
M  /trunk/Scribus/scribus/pageitem_textframe.cpp

Diffs:
Index: scribus/pageitem_textframe.cpp
===================================================================
--- scribus/pageitem_textframe.cpp	(revision 13936)
+++ scribus/pageitem_textframe.cpp	(revision 13937)
@@ -2572,7 +2572,7 @@
 							p->setPen(cachedStrokeQ, 1, Qt::SolidLine, Qt::FlatCap, Qt::MiterJoin);
 					}
 					// paint glyphs
-					if (cullingArea.intersects(pf2.mapRect(QRect(qRound(CurX + hl->glyph.xoffset),qRound(ls.y + hl->glyph.yoffset-asce), qRound(hl->glyph.xadvance+1), qRound(asce+desc)))))
+					if (isEmbedded || cullingArea.intersects(pf2.mapRect(QRect(qRound(CurX + hl->glyph.xoffset),qRound(ls.y + hl->glyph.yoffset-asce), qRound(hl->glyph.xadvance+1), qRound(asce+desc)))))
 					{
 						p->save();//SA4
 						p->translate(CurX, ls.y);




More information about the scribus-commit mailing list