Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.2.1
-
None
-
Windows 7, VS 2010
-
7eae50a52d63b7f0434fdb75fc09b0901a0140cc
Description
QTextLayout crashes when drawing a line contains only spaces with Qt::AlignJustify.
To solve this problem, I've corrected QTextEngine as following.
QTextEngine.cpp / line 2043 (QTextEngine::justify())
original : if (!line_length)
corrected : if (line_length <= 0)