diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2009-09-21 12:34:23 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2009-09-21 13:24:14 (GMT) |
commit | 00a8d21fff66cd2aec5ea0b6158a4f9923a6732f (patch) | |
tree | 00cbed3cf4e997ca166f357ce9c83f77ef292172 /src/gui/painting/qmatrix.cpp | |
parent | 8122c4fe6604caff016b2fe434a8e7065d025b1f (diff) | |
download | Qt-00a8d21fff66cd2aec5ea0b6158a4f9923a6732f.zip Qt-00a8d21fff66cd2aec5ea0b6158a4f9923a6732f.tar.gz Qt-00a8d21fff66cd2aec5ea0b6158a4f9923a6732f.tar.bz2 |
Fix printing with glyph substitution
If a font has substituted any of the glyphs in the string, then we
cannot convert it to a string, as the glyph positions will no longer
match the positions of the characters. E.g. in the case of the
MS Calibri font, two subsequent t's are represented by a single glyph.
Printing text in Calibri with subsequent t's will thus cause the
first t to be position and sized based on the glyph representing "tt"
and glyphs after this to be position based on the wrong advance and the
text will look mangled, with some glyphs overlapping.
Task-number: QTBUG-4445
Reviewed-by: Gunnar
Diffstat (limited to 'src/gui/painting/qmatrix.cpp')
0 files changed, 0 insertions, 0 deletions