summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qbmphandler_p.h
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-10-08 08:55:54 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-10-08 10:22:22 (GMT)
commit4cff91c66207b870e12365421e63cd978e162e64 (patch)
treeaa878b35ba488e16131164d2d42ec160024648db /src/gui/image/qbmphandler_p.h
parent4c9e2a4376a52891a21f75e2a441848234ed93c2 (diff)
downloadQt-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/qbmphandler_p.h')
0 files changed, 0 insertions, 0 deletions