From 6744d498fcbbbcf503ec80c4d43dd8f118a88597 Mon Sep 17 00:00:00 2001 From: "vandebo@chromium.org" Date: Mon, 9 May 2011 18:13:47 +0000 Subject: [PDF] Add a ToUnicode mapping for fonts. This makes text in PDFs searchable and copy&paste-able. Code from arthurhsu@chromium.org. Original review: http://codereview.appspot.com/4428082/ Review URL: http://codereview.appspot.com/4525042 git-svn-id: http://skia.googlecode.com/svn/trunk@1280 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/pdf/SkPDFFont.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/pdf') diff --git a/include/pdf/SkPDFFont.h b/include/pdf/SkPDFFont.h index ba316e8495..45e4195345 100644 --- a/include/pdf/SkPDFFont.h +++ b/include/pdf/SkPDFFont.h @@ -130,6 +130,7 @@ private: */ void populateType3Font(int16_t glyphID); bool addFontDescriptor(int16_t defaultWidth); + void populateToUnicodeTable(); void addWidthInfoFromRange(int16_t defaultWidth, const SkAdvancedTypefaceMetrics::WidthRange* widthRangeEntry); /** Set fFirstGlyphID and fLastGlyphID to span at most 255 glyphs, -- cgit v1.2.3