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)
Attachments
For Gerrit Dashboard: QTBUG-38520 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
84255,2 | Fix assert on justification of QTextLine with only spaces | release | qt/qtbase | Status: MERGED | +2 | 0 |