Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 12476 → Rev 12477

/trunk/Scribus/scribus/pageitem_textframe.cpp
958,7 → 958,7
}
else // from 134 on use NBSPACE for this effect
{
if ( current.itemsInLine == 0 && SpecialChars::isBreakingSpace(hl->ch))
if ( current.itemsInLine == 0 && (SpecialChars::isBreakingSpace(hl->ch) || hl->ch.isSpace()))
{
hl->setEffects(hl->effects() | ScStyle_SuppressSpace);
hl->glyph.xadvance = 0;