diff options
author | Trond Kjernåsen <trond@trolltech.com> | 2009-09-24 11:07:38 (GMT) |
---|---|---|
committer | Trond Kjernåsen <trond@trolltech.com> | 2009-09-24 11:15:05 (GMT) |
commit | 8ff7c9a7dedf1bf6d428c19c917dd4e943d66d9f (patch) | |
tree | 9a67a5a6a531d9d3d31e993cd6b38aa8d59dd286 /src | |
parent | 8f6b71b2ea4453d6d1f2c070145970630df9ee27 (diff) | |
download | Qt-8ff7c9a7dedf1bf6d428c19c917dd4e943d66d9f.zip Qt-8ff7c9a7dedf1bf6d428c19c917dd4e943d66d9f.tar.gz Qt-8ff7c9a7dedf1bf6d428c19c917dd4e943d66d9f.tar.bz2 |
Fixed a text drawing problem in the GL2 engine under X11.
In certain situations text would toggle between sub-pixel hinted
and normal antialiased, when e.g. drawing menus with -graphicssystem
opengl.
Reviewed-by: Samuel
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/text/qfontengine_ft.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qfontengine_ft.cpp b/src/gui/text/qfontengine_ft.cpp index 788417a..3da1593 100644 --- a/src/gui/text/qfontengine_ft.cpp +++ b/src/gui/text/qfontengine_ft.cpp @@ -1856,7 +1856,7 @@ QImage QFontEngineFT::alphaMapForGlyph(glyph_t g) QImage QFontEngineFT::alphaRGBMapForGlyph(glyph_t g, int margin, const QTransform &t) { - if (t.type() != QTransform::TxTranslate) + if (t.type() > QTransform::TxTranslate) return QFontEngine::alphaRGBMapForGlyph(g, margin, t); lockFace(); |