summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfontengine_ft_p.h
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-09-16 12:55:12 +0200
committerSamuel Rødal <sroedal@trolltech.com>2009-09-21 16:37:47 +0200
commit01383e6fde102ebeff5f87a90142c6d1cdb44d94 (patch)
tree251c00cb900517b0012b5a2780e38885c7316745 /src/gui/text/qfontengine_ft_p.h
parent65b4ce3c51283adb76dcb73cc654b06359b1ae00 (diff)
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 6704c8f669..99b40f8d18 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;