diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-04-06 14:23:34 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-04-06 14:53:04 (GMT) |
commit | 06e8d0cae3651beaf95de05e89696cbab4978740 (patch) | |
tree | 5c6f01a1aa61627c63d22d25d28744ca2e2b8347 /dist/changes-4.6.1 | |
parent | c272d672fc1863f9e3a201e93ad277c734749845 (diff) | |
download | Qt-06e8d0cae3651beaf95de05e89696cbab4978740.zip Qt-06e8d0cae3651beaf95de05e89696cbab4978740.tar.gz Qt-06e8d0cae3651beaf95de05e89696cbab4978740.tar.bz2 |
Fix painting artifacts on text
The height of the row is not only decided by the maximum height of the
set of glyphs currently being added to the glyph cache, but also the
height of the glyphs previously added to the current line in the glyph
cache. To minimize the space used, we now calculate the maximum height
for glyphs per line, and use this as the vertical advancement when
positioning the next line in the cache. The change also removes a
redundant test ((c_x + c.w > c.h) is caught earlier on and will
always be false at this point.)
Task-number: QTBUG-9176
Reviewed-by: Trond
Diffstat (limited to 'dist/changes-4.6.1')
0 files changed, 0 insertions, 0 deletions