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

Unified Diff: src/pdf/SkPDFFont.h

Issue 2221163002: SkPDF: SkPDFFont organization changes. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-08-09 (Tuesday) 15:24:15 EDT Created 4 years, 4 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 | « src/pdf/SkPDFConvertType1FontStream.cpp ('k') | src/pdf/SkPDFFont.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pdf/SkPDFFont.h
diff --git a/src/pdf/SkPDFFont.h b/src/pdf/SkPDFFont.h
index 0d7374598469bb7b70327912886640dde78914de..c55f6507698601b6da86ac1d1e2cd4aaf6f41d4f 100644
--- a/src/pdf/SkPDFFont.h
+++ b/src/pdf/SkPDFFont.h
@@ -120,6 +120,12 @@ public:
SkTypeface* typeface,
uint16_t glyphID);
+ static sk_sp<const SkAdvancedTypefaceMetrics> GetFontMetricsWithGlyphNames(
+ SkTypeface*, uint32_t* glyphs, uint32_t glyphsCount);
+
+ static sk_sp<const SkAdvancedTypefaceMetrics> GetFontMetricsWithToUnicode(
+ SkTypeface*, uint32_t* glyphs, uint32_t glyphsCount);
+
/** Subset the font based on usage set. Returns a SkPDFFont instance with
* subset.
* @param usage Glyph subset requested.
« no previous file with comments | « src/pdf/SkPDFConvertType1FontStream.cpp ('k') | src/pdf/SkPDFFont.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698