[poppler] 2 commits - poppler/GfxFont.cc

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


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

New commits:
commit 84278d8adbb1f6e9a28588fcb4db30c9ef70adde
Merge: 7b94b11 5b2cdef
Author: Albert Astals Cid <aacid at kde.org>
Date:   Sun May 4 22:21:25 2014 +0200

    Merge remote-tracking branch 'origin/poppler-0.26'

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