Chromium Code Reviews
DescriptionRemove user specified typeface id.
Now that there may be multiple font managers in a process the typeface
ids must be unique across all typefaces, not just unique within a font
manager. If two typefaces have the same id there will be issues in the
glyph cache. All existing font managers were already doing this by
calling SkFontCache::NewFontID, so centralize this in SkTypeface.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2147733002
Committed: https://skia.googlesource.com/skia/+/e3aea10428d1597838fd563c92340beaf969a9b4
Patch Set 1 #Patch Set 2 : Remove one last straggler. #
Messages
Total messages: 18 (14 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||