Index: include/pdf/SkPDFDocument.h |
diff --git a/include/pdf/SkPDFDocument.h b/include/pdf/SkPDFDocument.h |
index 9f651fdcedb081c35c376d0896a4b175f40ddee9..07738a210bfae59d1230f221842f1412949b8ee9 100644 |
--- a/include/pdf/SkPDFDocument.h |
+++ b/include/pdf/SkPDFDocument.h |
@@ -69,9 +69,17 @@ public: |
SK_API bool appendPage(SkPDFDevice* pdfDevice); |
/** Get the count of unique font types used in the document. |
+ * DEPRECATED. |
*/ |
SK_API void getCountOfFontTypes( |
- int counts[SkAdvancedTypefaceMetrics::kNotEmbeddable_Font + 1]) const; |
+ int counts[SkAdvancedTypefaceMetrics::kOther_Font + 2]) const; |
+ |
+ /** Get the count of unique font types used in the document. |
+ */ |
+ SK_API void getCountOfFontTypes( |
+ int counts[SkAdvancedTypefaceMetrics::kOther_Font + 1], |
+ int* notSubsettableCount, |
+ int* notEmbedddableCount) const; |
private: |
SkAutoTDelete<SkPDFCatalog> fCatalog; |