Chromium Code Reviews
DescriptionAvoid one temporary copy on web fonts decoding
Before this CL, we allocated a temporary SharedBuffer to store decoded
font data. Since the decoded data is only used to create SkTypeface we don't
need to have such abstraction. Create SkTypeface directly from the decoded
data. This CL also renamed and moved platform/fonts/opentype/OpenTypeSanitizer
to platform/fonts/WebFontDecoder for better naming.
BUG=616969
Committed: https://crrev.com/f4e652e1603fdc1c59afc235261648cac4d3ba1e
Cr-Commit-Position: refs/heads/master@{#397648}
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 : #
Total comments: 2
Patch Set 4 : #
Total comments: 1
Messages
Total messages: 25 (9 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||