DescriptionTest CTFonts for equality, not just name and style.
The current code looks up CTFonts from descriptors by just name and style.
This is not sufficient, for example Avenir Book and Avenir Roman have the
same family name but the same basic style, but are obviously not the same.
BUG=skia:5162
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1860993004
Committed: https://skia.googlesource.com/skia/+/53d5c6e7448fb68766a05f7bee651aa25e5d7f2b
Patch Set 1 #Patch Set 2 : Fix adding to cache. #
Total comments: 1
Patch Set 3 : Remove the rest of the name/style only matching. #
Total comments: 1
Messages
Total messages: 11 (4 generated)
|