diff options
author | Liang QI <liang.qi@nokia.com> | 2009-09-18 14:48:24 (GMT) |
---|---|---|
committer | Liang QI <liang.qi@nokia.com> | 2009-09-18 14:48:24 (GMT) |
commit | 9446b1745196acc7a6693b4ca2ca169f51fef97b (patch) | |
tree | 096cb6847dcd9318d5656fda2482eefdd08cf3b0 /src/gui/text | |
parent | d5db1f2bb5d520277f5d3ddfa5a50c385aebc753 (diff) | |
download | Qt-9446b1745196acc7a6693b4ca2ca169f51fef97b.zip Qt-9446b1745196acc7a6693b4ca2ca169f51fef97b.tar.gz Qt-9446b1745196acc7a6693b4ca2ca169f51fef97b.tar.bz2 |
Switch glyph cache from Qt to Symbian
Use Symbian glyph cache directly in QRasterPaintEngine, do not need cache them in Qt if on Symbian Platform.
Reviewed-by: Alessandro Portale
Reviewed-by: Jason Barron
Diffstat (limited to 'src/gui/text')
-rw-r--r-- | src/gui/text/qfontengine_s60_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/text/qfontengine_s60_p.h b/src/gui/text/qfontengine_s60_p.h index dc4ff2f..44f8122 100644 --- a/src/gui/text/qfontengine_s60_p.h +++ b/src/gui/text/qfontengine_s60_p.h @@ -119,11 +119,12 @@ public: Type type() const; + void getCharacterData(glyph_t glyph, TOpenFontCharMetrics& metrics, const TUint8*& bitmap, TSize& bitmapSize) const; + private: friend class QFontPrivate; QFixed glyphAdvance(HB_Glyph glyph) const; - void getCharacterData(glyph_t glyph, TOpenFontCharMetrics& metrics, const TUint8*& bitmap, TSize& bitmapSize) const; CFbsBitmap *m_textRenderBitmap; CFbsBitmapDevice *m_textRenderBitmapDevice; |