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

New commits:
commit 4f62c4bcd91dc1ad9f98da6e556fd5d688baf9e7
Author: Albert Astals Cid <[email protected]>
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 9cfa4f9..2ebcc91 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 <[email protected]>
+// Copyright (C) 2005, 2006, 2008, 2009 Albert Astals Cid <[email protected]>
 // Copyright (C) 2005, 2006 Kristian Høgsberg <[email protected]>
 // Copyright (C) 2006 Takashi Iwai <[email protected]>
 // Copyright (C) 2007 Julien Rebetez <[email protected]>
@@ -1445,7 +1445,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;
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to