r15488 by jghali - #9371: Non-breakable spaces disappear when text is converted to outlines
scribus-commit
scribus-commit at lists.scribus.net
Tue Sep 28 23:00:10 CEST 2010
Author: jghali
Date: Tue Sep 28 21:00:09 2010
New Revision: 15488
URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15488
Log:
#9371: Non-breakable spaces disappear when text is converted to outlines
Modified:
branches/Version135/Scribus/scribus/scribusview.cpp
Modified: branches/Version135/Scribus/scribus/scribusview.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15488&path=/branches/Version135/Scribus/scribus/scribusview.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/scribusview.cpp (original)
+++ branches/Version135/Scribus/scribus/scribusview.cpp Tue Sep 28 21:00:09 2010
@@ -4152,7 +4152,7 @@
undoManager->setUndoEnabled(true);
newGroupedItems.append(Doc->Items->takeAt(z));
}
- if (chstr != QChar(32))
+ if ((chstr.length() > 0) && (!chstr.at(0).isSpace()))
{
pts = hl->font().glyphOutline(gl);
if (pts.size() < 4)
@@ -4395,7 +4395,7 @@
undoManager->setUndoEnabled(true);
newGroupedItems.append(Doc->Items->takeAt(z));
}
- if (chstr != QChar(32))
+ if ((chstr.length() > 0) && (!chstr.at(0).isSpace()))
{
pts = hl->font().glyphOutline(gl);
if (pts.size() < 4)
More information about the scribus-commit
mailing list