summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-04-27 16:05:09 +0200
committerJiang Jiang <jiang.jiang@nokia.com>2011-04-29 11:02:25 +0200
commit774527dd1e85da6ab91cba9b0e5897ba90f4c828 (patch)
tree47a70bdf4ed617db024eb0f3a1ec23ce934f3d47 /src/corelib
parentbbbfc9b0eb373054aa4df7928c6472acc8f49c81 (diff)
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 (cherry picked from commit c501403cb5a0c9ec21b00e0c2f640ae85566e0cf)
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions