r13936 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:17 CEST 2009


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

Changeset: 
M  /branches/Version135/Scribus/scribus/pageitem_textframe.cpp

Diffs:
Index: scribus/pageitem_textframe.cpp
===================================================================
--- scribus/pageitem_textframe.cpp	(revision 13935)
+++ scribus/pageitem_textframe.cpp	(revision 13936)
@@ -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