summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpaintengine_raster.cpp
diff options
context:
space:
mode:
authorAndreas Kling <andreas.kling@nokia.com>2010-03-05 13:12:18 (GMT)
committerAndreas Kling <andreas.kling@nokia.com>2010-03-05 15:30:54 (GMT)
commit56c9bd9a4c03418ad0ba83b576bcc278e86bfe99 (patch)
treed9a1046f44a4b3083a4862c0dbd9db877d06c8b2 /src/gui/painting/qpaintengine_raster.cpp
parent1fdaff30cde418a858170547e9d3c514617ba366 (diff)
downloadQt-56c9bd9a4c03418ad0ba83b576bcc278e86bfe99.zip
Qt-56c9bd9a4c03418ad0ba83b576bcc278e86bfe99.tar.gz
Qt-56c9bd9a4c03418ad0ba83b576bcc278e86bfe99.tar.bz2
FreeType: Fast lookup of Latin-1 glyphs
Store all glyphs with index < 256 in a pointer array for fast lookup Reviewed-by: Benjamin Poulain
Diffstat (limited to 'src/gui/painting/qpaintengine_raster.cpp')
-rw-r--r--src/gui/painting/qpaintengine_raster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpaintengine_raster.cpp b/src/gui/painting/qpaintengine_raster.cpp
index a7c2a0b..bfcf7db 100644
--- a/src/gui/painting/qpaintengine_raster.cpp
+++ b/src/gui/painting/qpaintengine_raster.cpp
@@ -3390,7 +3390,7 @@ void QRasterPaintEngine::drawTextItem(const QPointF &p, const QTextItem &textIte
};
for(int i = 0; i < glyphs.size(); i++) {
- QFontEngineFT::Glyph *glyph = gset->glyph_data.value(glyphs[i]);
+ QFontEngineFT::Glyph *glyph = gset->getGlyph(glyphs[i]);
if (!glyph || glyph->format != neededFormat) {
if (!lockedFace)