Commit 4de3c5db authored by Tor Arne Vestbø's avatar Tor Arne Vestbø Committed by The Qt Project
Browse files

Unify glyph format between QFontEngine and QFontEngineGlyphCache


Instead of the glyph cache having its own cache type that always mapped
one to one to a font engine glyph format, causing confusion and needless
conversions, the glyph caches now use QFontEngine's glyph format enum.

This also removes the iffy use of an int for the glyphFormat in the font
engines.

Change-Id: I529bad5c179e004f63e152f7dcc311d298c3db98
Reviewed-by: default avatarSimon Hausmann <simon.hausmann@digia.com>
parent 30fd22b9
Branches
Tags
No related merge requests found
Showing with 150 additions and 133 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment