Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | New class: QGlyphs | Eskil Abrahamsen Blomfeldt | 2010-06-04 | 1 | -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 |