From 95437eee94fee242a175582a7ba90be5ca15aca4 Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Thu, 1 May 2014 15:05:38 +0930 Subject: [PATCH] Always use a 16-bit cmap Fixes reading of some PDF files. --- poppler/GfxFont.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poppler/GfxFont.cc b/poppler/GfxFont.cc index 80353aa..e49dacc 100644 --- a/poppler/GfxFont.cc +++ b/poppler/GfxFont.cc @@ -1386,7 +1386,7 @@ Gfx8BitFont::Gfx8BitFont(XRef *xref, const char *tagA, Ref idA, GooString *nameA // existing entries in ctu, i.e., the ToUnicode CMap takes // precedence, but the other encoding info is allowed to fill in any // holes - readToUnicodeCMap(fontDict, 8, ctu); + readToUnicodeCMap(fontDict, 16, ctu); // look for a Unicode-to-Unicode mapping if (name && (utu = globalParams->getUnicodeToUnicode(name))) { -- 1.7.10.4