diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-10-08 08:55:54 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-10-08 10:22:22 (GMT) |
commit | 4cff91c66207b870e12365421e63cd978e162e64 (patch) | |
tree | aa878b35ba488e16131164d2d42ec160024648db /src/gui/image | |
parent | 4c9e2a4376a52891a21f75e2a441848234ed93c2 (diff) | |
download | Qt-4cff91c66207b870e12365421e63cd978e162e64.zip Qt-4cff91c66207b870e12365421e63cd978e162e64.tar.gz Qt-4cff91c66207b870e12365421e63cd978e162e64.tar.bz2 |
Fix infinite loop when justifying undisplayable Arabic text
If the Arabic text is for some reason undisplayable, e.g. because of
QTBUG-13132, the font engine will be unable to find the tatweel character
and the kashida width may be returned as 0. This would potentially cause
an infinite loop, as "need" would remain >= minKashida forever because
x - 0 is still >= 0.
Task-number: QTBUG-13130
Reviewed-by: Lars
Diffstat (limited to 'src/gui/image')
0 files changed, 0 insertions, 0 deletions