summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/skia/include/pdf/SkPDFDocument.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/skia/include/pdf/SkPDFDocument.h')
-rw-r--r--chromium/third_party/skia/include/pdf/SkPDFDocument.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/chromium/third_party/skia/include/pdf/SkPDFDocument.h b/chromium/third_party/skia/include/pdf/SkPDFDocument.h
index 9f651fdcedb..07738a210bf 100644
--- a/chromium/third_party/skia/include/pdf/SkPDFDocument.h
+++ b/chromium/third_party/skia/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;