-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cache fonts within one font family separately.
When each font has it's own mapping, the caches don't get confused if the character mappings within a family are mismatched. The cache is populated when the font is scanned, with the drawback being that it uses approximately 2x the space if all the fonts in the family are being used. b/211528579 Change-Id: I7bb6f25c6c710c95224dca2070db1f78e2c1c651 (cherry picked from commit b5def92b1a27de3f1913799a45fdd9e2364f2d02)
- Loading branch information
Cobalt Team
committed
Dec 22, 2021
1 parent
ba47e75
commit d0f80b8
Showing
2 changed files
with
35 additions
and
25 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
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