diff options
author | vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-07-27 20:59:55 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-07-27 20:59:55 +0000 |
commit | 17e66e2d341ab684eec7841fd383af85bb4aa625 (patch) | |
tree | 555f31523e119e06ad46967112764ecd260d348d /include/pdf/SkPDFFont.h | |
parent | 93225ff5d5872faada54a073423e802e8e721323 (diff) |
[PDF] Improve efficiency of glyph id collection during font subsetting.
Patch from Arthur Hsu, original CL: http://codereview.appspot.com/4828044/
Review URL: http://codereview.appspot.com/4798057
git-svn-id: http://skia.googlecode.com/svn/trunk@1978 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/pdf/SkPDFFont.h')
-rw-r--r-- | include/pdf/SkPDFFont.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pdf/SkPDFFont.h b/include/pdf/SkPDFFont.h index 00dcb95a6a..a37fec15cc 100644 --- a/include/pdf/SkPDFFont.h +++ b/include/pdf/SkPDFFont.h @@ -35,6 +35,7 @@ public: void set(const uint16_t* glyphIDs, int numGlyphs); bool has(uint16_t glyphID) const; void merge(const SkPDFGlyphSet& usage); + void exportTo(SkTDArray<uint32_t>* glyphIDs) const; private: SkBitSet fBitSet; |