[poppler] poppler/GfxFont.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Wed Mar 11 15:01:15 PDT 2009
poppler/GfxFont.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 12aac6774fc6f92def3d5567051117951cc32223
Author: Albert Astals Cid <aacid at kde.org>
Date: Wed Mar 11 23:00:37 2009 +0100
fontCIDType2OT fonts can also have a CIDToGIDMap
Fixes bug #20605
diff --git a/poppler/GfxFont.cc b/poppler/GfxFont.cc
index 11b8fc3..8b7022d 100644
--- a/poppler/GfxFont.cc
+++ b/poppler/GfxFont.cc
@@ -10,7 +10,7 @@
//
// Modified under the Poppler project - http://poppler.freedesktop.org
//
-// Copyright (C) 2005, 2006, 2008 Albert Astals Cid <aacid at kde.org>
+// Copyright (C) 2005, 2006, 2008, 2009 Albert Astals Cid <aacid at kde.org>
// Copyright (C) 2005, 2006 Kristian Høgsberg <krh at redhat.com>
// Copyright (C) 2006 Takashi Iwai <tiwai at suse.de>
// Copyright (C) 2007 Julien Rebetez <julienr at svn.gnome.org>
@@ -1447,7 +1447,7 @@ GfxCIDFont::GfxCIDFont(XRef *xref, char *tagA, Ref idA, GooString *nameA,
delete cMapName;
// CIDToGIDMap (for embedded TrueType fonts)
- if (type == fontCIDType2) {
+ if (type == fontCIDType2 || type == fontCIDType2OT) {
desFontDict->lookup("CIDToGIDMap", &obj1);
if (obj1.isStream()) {
cidToGIDLen = 0;
More information about the poppler
mailing list