summaryrefslogtreecommitdiffstats
path: root/tests/auto/qglyphs/test.ttf
Commit message (Collapse)AuthorAgeFilesLines
* New class: QGlyphsEskil Abrahamsen Blomfeldt2010-06-041-0/+0
Introduce an API to access glyph indexes in a font directly. A bug was discovered during this work, where different hinting flags in loadGlyph() and loadGlyphMetrics() would make the metrics in the two functions different, thus causing drawCachedGlyphs() (which uses loadGlyphMetrics() indirectly) to use different metrics than the standard drawTextItem() code path (which uses loadGlyph()). The bug was visible in the tst_QGlyphs::drawExistingGlyphs() test. Reviewed-by: Simon Hausmann