mirrored from https://skia.googlesource.com/skia
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SkTypeface_fontconfig::onMakeClone to keep pattern
Fix the long standing TODO that FC_MATRIX and FC_EMOBOLDEN need to be passed on through clones. Do so by having onMakeClone return a SkTypeface_fontconfig with a reference to fPattern. Correct the style by keeping any weight or width offset and slant override. Note that this fixes onMakeClone, but does not fix the similar issue (and TODO in onGetFontDescriptor) with serialization and deserialization. Change-Id: I4869d886b2c9bb2ae4df519488d92d4e5adb147b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/948176 Commit-Queue: Ben Wagner <[email protected]> Reviewed-by: Julia Lavrova <[email protected]>
- Loading branch information
Ben Wagner
authored and
SkCQ
committed
Feb 10, 2025
1 parent
0986953
commit 8c377e8
Showing
1 changed file
with
29 additions
and
8 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