skia /
skia /
16870c795b9105a5bc0e20eca31c873401f905ec Ignore duplicates in Android NDK fallback
When SkFontMgr_AndroidNDK::onMatchFamilyStyleCharacter needs to scan the
list of styles available it should ignore duplicates. These duplicates
can come from names in the fonts.xml file or by additional (usually
localized) names in the font itself.
Bug: 40618213
Change-Id: Iba46c556507e2f350a069d11eb8aa922600840fc
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1110836
Auto-Submit: Ben Wagner <bungeman@google.com>
Reviewed-by: Florin Malita <fmalita@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
1 file changed