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. |