summaryrefslogtreecommitdiffstats
path: root/tools/uilib/formbuilderextra_p.h
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2011-05-18 15:10:40 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2011-05-18 15:57:38 +0200
commitf4c1c2f939e1cd6e08197284edb84b202cd6749e (patch)
tree985fe8d4d137f7f4e6c6951ae1b2c7cd45acea10 /tools/uilib/formbuilderextra_p.h
parente8c95790d9d03678f9c0d30a7cc7c2edec6eba81 (diff)
Fall back to using paths for large fonts in drawStaticText()
QStaticText had an implicit risk which meant you had to make sure the text size did not grow unreasonably large. This was intended to avoid hiding the performance impact of using QStaticText for such a purpose, but it's too inconvenient. Thus, the same fall back as in drawTextItem() has been introduced. This will also fix a bug recently introduced when we started using the FT cache to draw static text in the raster engine, since this will fail for large fonts. Task-number: QTBUG-19084, QTBUG-19370 Reviewed-by: Jiang Jiang (cherry picked from commit 0aa9b30432cec3b7f366983f451fc9a7f8f83243)
Diffstat (limited to 'tools/uilib/formbuilderextra_p.h')
0 files changed, 0 insertions, 0 deletions