diff options
| author | Shawn Rutledge <shawn.rutledge@digia.com> | 2014-11-19 12:00:18 +0100 |
|---|---|---|
| committer | Konstantin Ritt <ritt.ks@gmail.com> | 2014-11-25 22:18:23 +0100 |
| commit | 23517bfc35ded91b919f49f3709bf8e4b5042987 (patch) | |
| tree | c8ecc9b70a4e82c0d828cddee0781866cd8a325e /src/platformsupport/fontdatabases/basic/qbasicfontdatabase.cpp | |
| parent | 0e0464c50d96dcf576e525f750cd96f8afa7784b (diff) | |
QDistanceField: a zero glyph index means the glyph was not found
In qt_fontHasNarrowOutlines, if we proceed to call alphaMapForGlyph
when the glyph does not exist, there will be a failed assertion.
The docs for FT_Get_Char_Index say that zero means the glyph was
not found.
Change-Id: I371e9a2797a34fa3ebeae44531af51e24dadad79
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'src/platformsupport/fontdatabases/basic/qbasicfontdatabase.cpp')
0 files changed, 0 insertions, 0 deletions
