Index: src/pdf/SkPDFFont.h |
diff --git a/src/pdf/SkPDFFont.h b/src/pdf/SkPDFFont.h |
index 404e8b762104a9a7dd98928ecdbd7c414301f483..ca0a51fca4dc973e53f25fcefbc5647d00c59d64 100644 |
--- a/src/pdf/SkPDFFont.h |
+++ b/src/pdf/SkPDFFont.h |
@@ -149,6 +149,12 @@ public: |
uint32_t searchFontID, |
uint16_t searchGlyphID); |
+ /** |
+ * Return false iff the typeface has its NotEmbeddable flag set. |
+ * If typeface is NULL, the default typeface is checked. |
+ */ |
+ static bool CanEmbedTypeface(SkTypeface*, SkPDFCanon*); |
+ |
protected: |
// Common constructor to handle common members. |
SkPDFFont(const SkAdvancedTypefaceMetrics* fontInfo, |