summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfontengine_qws.cpp
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-04-27 14:05:09 (GMT)
committerJiang Jiang <jiang.jiang@nokia.com>2011-04-27 14:34:11 (GMT)
commitc501403cb5a0c9ec21b00e0c2f640ae85566e0cf (patch)
treedfa96e6b9bd8d955c3654bced4998d5e602ee5da /src/gui/text/qfontengine_qws.cpp
parenta36ac6c34bafa801c2c30d76f59e4a3594efc4d5 (diff)
downloadQt-c501403cb5a0c9ec21b00e0c2f640ae85566e0cf.zip
Qt-c501403cb5a0c9ec21b00e0c2f640ae85566e0cf.tar.gz
Qt-c501403cb5a0c9ec21b00e0c2f640ae85566e0cf.tar.bz2
Use maximum ascent/descent/leading from fallback fonts in shaping
When shaping a QScriptItem with a multi font engine, currently we only take the ascent/descent/leading from the primary (first) font engine in that multi font engine, however, subsequent engines used during shaping may have larger ascent/descent/leading, disregarding them may cause clipping issues in some cases. It's fixed by checking each font engine used in the shaping process and take the maximum value instead of the first one. On ATSUI we merely make it compile. Task-number: QTBUG-16719 Reviewed-by: Eskil
Diffstat (limited to 'src/gui/text/qfontengine_qws.cpp')
0 files changed, 0 insertions, 0 deletions