Index: src/pdf/SkPDFFont.h |
diff --git a/src/pdf/SkPDFFont.h b/src/pdf/SkPDFFont.h |
index d85c5826d3b051796044ee6bbe7d8f52f845055f..92a44abc206725717d3e090f8119d8098787b243 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* typeface); |
+ |
protected: |
// Common constructor to handle common members. |
SkPDFFont(const SkAdvancedTypefaceMetrics* fontInfo, |