fix reference to _PerGlyphInfo
BUG=skia: TBR=bungeman@google.com NOTRY=True NOTREECHECKS=True Review URL: https://codereview.chromium.org/1136283004
This commit is contained in:
parent
b1207e8164
commit
1ebf0d2edc
@ -844,7 +844,7 @@ SkPDFFont* SkPDFFont::GetFontResource(SkPDFCanon* canon,
|
|||||||
fontMetrics->fType != SkAdvancedTypefaceMetrics::kTrueType_Font) {
|
fontMetrics->fType != SkAdvancedTypefaceMetrics::kTrueType_Font) {
|
||||||
// Font does not support subsetting, get new info with advance.
|
// Font does not support subsetting, get new info with advance.
|
||||||
info = SkTBitOr<SkAdvancedTypefaceMetrics::PerGlyphInfo>(
|
info = SkTBitOr<SkAdvancedTypefaceMetrics::PerGlyphInfo>(
|
||||||
info, SkAdvancedTypefaceMetrics::kHAdvance_PerGlyphInfo);
|
info, kHAdvance_PerGlyphInfo);
|
||||||
fontMetrics.reset(
|
fontMetrics.reset(
|
||||||
typeface->getAdvancedTypefaceMetrics(info, NULL, 0));
|
typeface->getAdvancedTypefaceMetrics(info, NULL, 0));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user