diff options
author | Olly Betts <olly@survex.com> | 2014-05-04 22:20:30 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2014-05-04 22:20:30 +0200 |
commit | 5b2cdef49a8a0a92fd323fbe45841a5098a42ece (patch) | |
tree | 64e077ec31395c47e48de7016ae0bfd84af905ce | |
parent | bae836cd3dd3511ca9cf4745626142334bafd1a6 (diff) |
Fix extraction of text in some files
Bug #78145
-rw-r--r-- | poppler/GfxFont.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/poppler/GfxFont.cc b/poppler/GfxFont.cc index 80353aab..6f6a1250 100644 --- a/poppler/GfxFont.cc +++ b/poppler/GfxFont.cc @@ -31,6 +31,7 @@ // Copyright (C) 2012 Suzuki Toshiya <mpsuzuki@hiroshima-u.ac.jp> // Copyright (C) 2012 Thomas Freitag <Thomas.Freitag@alfa.de> // Copyright (C) 2013, 2014 Jason Crain <jason@aquaticape.us> +// Copyright (C) 2014 Olly Betts <olly@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))) { |