[poppler] Branch 'poppler-0.26' - poppler/GfxFont.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Sun May 4 13:20:54 PDT 2014


 poppler/GfxFont.cc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 5b2cdef49a8a0a92fd323fbe45841a5098a42ece
Author: Olly Betts <olly at survex.com>
Date:   Sun May 4 22:20:30 2014 +0200

    Fix extraction of text in some files
    
    Bug #78145

diff --git a/poppler/GfxFont.cc b/poppler/GfxFont.cc
index 80353aa..6f6a125 100644
--- a/poppler/GfxFont.cc
+++ b/poppler/GfxFont.cc
@@ -31,6 +31,7 @@
 // Copyright (C) 2012 Suzuki Toshiya <mpsuzuki at hiroshima-u.ac.jp>
 // Copyright (C) 2012 Thomas Freitag <Thomas.Freitag at alfa.de>
 // Copyright (C) 2013, 2014 Jason Crain <jason at aquaticape.us>
+// Copyright (C) 2014 Olly Betts <olly at survex.com>
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
@@ -1386,7 +1387,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))) {


More information about the poppler mailing list