diff options
author | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2014-04-30 15:26:57 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-12 13:44:59 +0200 |
commit | 5a060a5ad322629f1a1ee0c850db94932543fee5 (patch) | |
tree | dd5ab1b39a365cba2f6d47fc53b3e75489925a66 /config.tests | |
parent | a669564597f1d9aebe6f992d890b730c7be10f6f (diff) |
CoreText: Prevent creation of CGContext for glyphs with empty bounding box
If the alphaMapBoundingBox of a glyph is empty we don't want to create
a CGBitmapContext on it, as that will fail, and any further operations
on the invalid context will result in possibly fatal errors from CG.
This issue can be observed when drawing some glyphs of the Apple Color
Emoji font.
Change-Id: Ia45ba858b5fb6afa91e6d686a9c55e350d4095f3
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'config.tests')
0 files changed, 0 insertions, 0 deletions