This commit is contained in:
Arin Alexander 2017-05-15 20:31:20 +03:00
commit dbd753b4d3

View File

@ -491,7 +491,9 @@ TextItem::TextPtr TextItem::textDocument() const
setTextFont(text,_font); setTextFont(text,_font);
} }
//text->documentLayout(); if (follower())
text->documentLayout();
if (m_lineSpacing != 1 || m_textIndent !=0 ){ if (m_lineSpacing != 1 || m_textIndent !=0 ){
for ( QTextBlock block = text->begin(); block.isValid(); block = block.next()) for ( QTextBlock block = text->begin(); block.isValid(); block = block.next())