diff options
author | Hal Canary <halcanary@google.com> | 2018-04-10 11:27:48 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-09 14:24:45 +0000 |
commit | 1c2bcd8b14e029a70e88b1e81acd29553cab0d1c (patch) | |
tree | 723a0c85100bcb59590bd2e46fc5eb5c10472406 /src/pdf/SkPDFMakeToUnicodeCmap.h | |
parent | a2595f925596aca234d4ac4e35da689ef13cc27c (diff) |
SkAdvancedTypefaceMetrics: factor out GlyphToUnicode
Change-Id: Iedce8c1ea2c405d5ab64ccac353970d5cd2b9d63
Reviewed-on: https://skia-review.googlesource.com/126507
Commit-Queue: Hal Canary <halcanary@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'src/pdf/SkPDFMakeToUnicodeCmap.h')
-rw-r--r-- | src/pdf/SkPDFMakeToUnicodeCmap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pdf/SkPDFMakeToUnicodeCmap.h b/src/pdf/SkPDFMakeToUnicodeCmap.h index 0c4d1c37dd..656af913d0 100644 --- a/src/pdf/SkPDFMakeToUnicodeCmap.h +++ b/src/pdf/SkPDFMakeToUnicodeCmap.h @@ -12,14 +12,14 @@ #include "SkStream.h" sk_sp<SkPDFStream> SkPDFMakeToUnicodeCmap( - const SkTDArray<SkUnichar>& glyphToUnicode, + const SkUnichar* glyphToUnicode, const SkBitSet* subset, bool multiByteGlyphs, SkGlyphID firstGlyphID, SkGlyphID lastGlyphID); // Exposed for unit testing. -void SkPDFAppendCmapSections(const SkTDArray<SkUnichar>& glyphToUnicode, +void SkPDFAppendCmapSections(const SkUnichar* glyphToUnicode, const SkBitSet* subset, SkDynamicMemoryWStream* cmap, bool multiByteGlyphs, |