summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfontengine_ft_p.h
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-09-16 10:55:12 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2009-09-21 14:37:47 (GMT)
commit01383e6fde102ebeff5f87a90142c6d1cdb44d94 (patch)
tree251c00cb900517b0012b5a2780e38885c7316745 /src/gui/text/qfontengine_ft_p.h
parent65b4ce3c51283adb76dcb73cc654b06359b1ae00 (diff)
downloadQt-01383e6fde102ebeff5f87a90142c6d1cdb44d94.zip
Qt-01383e6fde102ebeff5f87a90142c6d1cdb44d94.tar.gz
Qt-01383e6fde102ebeff5f87a90142c6d1cdb44d94.tar.bz2
Made subpixel antialiasing in the GL2 engine work on X11 as well.
Need to add alphaRGBMapForGlyph to the Freetype font engine. Reviewed-by: Kim
Diffstat (limited to 'src/gui/text/qfontengine_ft_p.h')
-rw-r--r--src/gui/text/qfontengine_ft_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/text/qfontengine_ft_p.h b/src/gui/text/qfontengine_ft_p.h
index 6704c8f..99b40f8 100644
--- a/src/gui/text/qfontengine_ft_p.h
+++ b/src/gui/text/qfontengine_ft_p.h
@@ -227,6 +227,7 @@ public:
virtual void recalcAdvances(QGlyphLayout *glyphs, QTextEngine::ShaperFlags flags) const;
virtual QImage alphaMapForGlyph(glyph_t);
+ virtual QImage alphaRGBMapForGlyph(glyph_t, int margin, const QTransform &t);
virtual void removeGlyphFromCache(glyph_t glyph);
virtual int glyphCount() const;