aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/pdf/SkPDFPage.h
diff options
context:
space:
mode:
authorGravatar vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-07-23 20:22:53 +0000
committerGravatar vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-07-23 20:22:53 +0000
commit6504cfdfc035f0a2cb854be9df352159873b9d62 (patch)
tree75f05c33e82b05edc130ae91bc0c39048d6bd7f2 /include/pdf/SkPDFPage.h
parent0e35ca8382ae101187c7cb2e1bdcf5dff1fd9a6f (diff)
[PDF] Refactor SkPDFFont to enable font/cmap subsetting.
Patch from Arthur Hsu, original CL: http://codereview.appspot.com/4633050/ Review URL: http://codereview.appspot.com/4811049 git-svn-id: http://skia.googlecode.com/svn/trunk@1943 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/pdf/SkPDFPage.h')
-rw-r--r--include/pdf/SkPDFPage.h5
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;