summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa/qcocoaeventloopintegration.h
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2011-05-18 10:16:33 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2011-05-24 09:23:08 (GMT)
commit5a4df38ac98aa013bcfaddc8470bc1a7bae4449e (patch)
treefc2f2cea6bd65be57b772a6c07d211768bca7960 /src/plugins/platforms/cocoa/qcocoaeventloopintegration.h
parent886af794d72947d924fbecc1ca29d541207f3282 (diff)
downloadQt-5a4df38ac98aa013bcfaddc8470bc1a7bae4449e.zip
Qt-5a4df38ac98aa013bcfaddc8470bc1a7bae4449e.tar.gz
Qt-5a4df38ac98aa013bcfaddc8470bc1a7bae4449e.tar.bz2
Fix broken drawing with large fonts using QStaticText and FreeType
In FreeType, there's a fall back to QFontEngine::alphaMapForGlyph() when the fonts are very large. Since this uses a QPainterPath containing an unhinted glyph, the use of hinted metrics would sometimes lead to the glyphs being clipped because they would be positioned slightly outside the image they were painted into. When outline drawing is on, it makes sense to return unhinted metrics, since the glyphs we will actually use are unhinted. Task-number: QTBUG-19067 Reviewed-by: Jiang Jiang (cherry picked from commit 5fcd60f2560e8caf495ce67028a8da8bef27acad)
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoaeventloopintegration.h')
0 files changed, 0 insertions, 0 deletions