summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/windows/qwindowsscreen.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2014-08-25 12:56:34 +0200
committerAllan Sandfeld Jensen <allan.jensen@digia.com>2014-09-01 12:25:56 +0200
commit367680679ae13faaf71aa481265cb93629a36427 (patch)
treeb5d61cf342525c951041f586273c5202d69c12e3 /src/plugins/platforms/windows/qwindowsscreen.h
parent1812bb968c49d50745ab2b10787320205c54f946 (diff)
Fix advance of zero-width spaces in fonts that omits the glyph
Some fonts appear to include zero-width space in the CMAP table, but not include an actual definitions of the glyph they point to. The missing glyph causes a warning, but isn't handled making the character end up being giving the same metrics as whatever character it came after. This patch adds explicit handling of missing glyphs, and also caches their missing state when caching is enabled. Task-number: QTBUG-40912 Change-Id: I06fba9c01df59548e750e36babfdd5a6bafd6bd0 Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsscreen.h')
0 files changed, 0 insertions, 0 deletions