DescriptionAdd a flag indicating locally-created fonts to SkCreateTypefaceFromCTFont
We need to properly indicate whether the typeface was created from
local stream when creating SkTypeface_Mac, otherwise the typeface
won't be serialized. SkCreateTypefaceFromCTFont used to assume
all fonts to be non-local, which caused web fonts to be incorrectly serialized on Mac.
BUG=chromium:426088
Patch Set 1 #
Total comments: 1
Patch Set 2 : fixed line length #
Total comments: 2
Patch Set 3 : just add isLocal flag to SkCreateTypefaceFromCTFont #
Messages
Total messages: 13 (4 generated)
|