Make OpenGL texture glyph cache use the right freetype glyphs
authorGunnar Sletta <gunnar.sletta@digia.com>
Tue, 5 Nov 2013 19:20:07 +0000 (20:20 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 6 Nov 2013 10:31:39 +0000 (11:31 +0100)
commitf78661b03cc1affcdd222be50b35d956edac4711
tree235e8214a7c13bc6f6a3cd30e4c1edd4637043b9
parent6d45bf683e17092059a553fd31ad2a89672e3195
Make OpenGL texture glyph cache use the right freetype glyphs

The freetype font engine would fall back to rasterizing glyphs
via QPainterPath in QFontEngine::alphaMapForGlyph() which has
a rather unfortunate implementation.

Change-Id: Ic0b4095b6f17ab33f0602139f0a8fb441dfba0ee
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
src/gui/opengl/qopengltextureglyphcache.cpp