diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-12-09 14:15:35 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-12-09 14:15:35 (GMT) |
commit | 0c30418556d978f730c33aa3bb066961981ccc9b (patch) | |
tree | 68a65f43d1152a4e96ae3736edae89309ca608cf /src/gui/text/qfontengine_p.h | |
parent | 9f3cde38bffb79da82d6248a873a687d37177954 (diff) | |
download | Qt-0c30418556d978f730c33aa3bb066961981ccc9b.zip Qt-0c30418556d978f730c33aa3bb066961981ccc9b.tar.gz Qt-0c30418556d978f730c33aa3bb066961981ccc9b.tar.bz2 |
Fix crash when rotating cleartype text under gl engine.
Reviewed-by: Eskil
Diffstat (limited to 'src/gui/text/qfontengine_p.h')
-rw-r--r-- | src/gui/text/qfontengine_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/text/qfontengine_p.h b/src/gui/text/qfontengine_p.h index 728c344..62bff85 100644 --- a/src/gui/text/qfontengine_p.h +++ b/src/gui/text/qfontengine_p.h @@ -218,9 +218,9 @@ public: virtual HB_Error getPointInOutline(HB_Glyph glyph, int flags, hb_uint32 point, HB_Fixed *xpos, HB_Fixed *ypos, hb_uint32 *nPoints); - void setGlyphCache(void *key, QFontEngineGlyphCache *data); + void setGlyphCache(void *key, QFontEngineGlyphCache *data, QFontEngineGlyphCache::Type type); void setGlyphCache(QFontEngineGlyphCache::Type key, QFontEngineGlyphCache *data); - QFontEngineGlyphCache *glyphCache(void *key, const QTransform &transform) const; + QFontEngineGlyphCache *glyphCache(void *key, const QTransform &transform, QFontEngineGlyphCache::Type type) const; QFontEngineGlyphCache *glyphCache(QFontEngineGlyphCache::Type key, const QTransform &transform) const; static const uchar *getCMap(const uchar *table, uint tableSize, bool *isSymbolFont, int *cmapSize); |