diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-04-27 14:05:09 (GMT) |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-04-27 14:34:11 (GMT) |
commit | c501403cb5a0c9ec21b00e0c2f640ae85566e0cf (patch) | |
tree | dfa96e6b9bd8d955c3654bced4998d5e602ee5da /src/gui/text/qfont.h | |
parent | a36ac6c34bafa801c2c30d76f59e4a3594efc4d5 (diff) | |
download | Qt-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/qfont.h')
0 files changed, 0 insertions, 0 deletions