Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1005)

Unified Diff: src/pdf/SkPDFFont.cpp

Issue 1128023004: PerGlyphInfo is on SkTypeface (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pdf/SkPDFFont.cpp
diff --git a/src/pdf/SkPDFFont.cpp b/src/pdf/SkPDFFont.cpp
index 0aa2418e859cacb44bc3badf0c17b00766c53728..0afdb9b6167b4a5ed26a858ecdbace09ce3d3079 100644
--- a/src/pdf/SkPDFFont.cpp
+++ b/src/pdf/SkPDFFont.cpp
@@ -843,8 +843,8 @@ SkPDFFont* SkPDFFont::GetFontResource(SkPDFCanon* canon,
if (fontMetrics.get() &&
fontMetrics->fType != SkAdvancedTypefaceMetrics::kTrueType_Font) {
// Font does not support subsetting, get new info with advance.
- info = SkTBitOr<SkAdvancedTypefaceMetrics::PerGlyphInfo>(
- info, kHAdvance_PerGlyphInfo);
+ info = SkTBitOr<SkTypeface::PerGlyphInfo>(
+ info, SkTypeface::kHAdvance_PerGlyphInfo);
fontMetrics.reset(
typeface->getAdvancedTypefaceMetrics(info, NULL, 0));
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698