Commit b271abea authored by Yoann Lopes's avatar Yoann Lopes Committed by Qt by Nokia
Browse files

Use a single distance-field cache instance for all sizes of a given font.


Previously we had a different cache instance for each font size, but
they all shared the same textures and positions. Only the glyph metrics
were specific to each font size.
The metrics for each font sizes are now calculated by scaling the metrics
of the distance-field size (54px).

Change-Id: I0d9016990dedd93318893506afb1dba7a5249e2e
Reviewed-by: default avatarEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
parent 3bf01de8
Branches
Tags
Showing with 267 additions and 343 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