diff options
Diffstat (limited to 'include/pdf/SkPDFPage.h')
-rw-r--r-- | include/pdf/SkPDFPage.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/pdf/SkPDFPage.h b/include/pdf/SkPDFPage.h index a3978744e7..7a9505bbed 100644 --- a/include/pdf/SkPDFPage.h +++ b/include/pdf/SkPDFPage.h @@ -90,6 +90,11 @@ public: */ SK_API const SkTDArray<SkPDFFont*>& getFontResources() const; + /** Returns a SkPDFGlyphSetMap which represents glyph usage of every font + * that shows on this page. + */ + const SkPDFGlyphSetMap& getFontGlyphUsage() const; + private: // Multiple pages may reference the content. SkRefPtr<SkPDFDevice> fDevice; |