Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a single distance-field cache instance for all sizes of a given f…
…ont. 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: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
- Loading branch information
Yoann Lopes
authored and
Qt by Nokia
committed
Mar 19, 2012
1 parent
3bf01de
commit b271abe
Showing
9 changed files
with
267 additions
and
343 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.