[poppler] Branch 'poppler-0.16' - poppler/CairoFontEngine.cc

Carlos Garcia Campos carlosgc at kemper.freedesktop.org
Sat Feb 26 04:26:05 PST 2011


 poppler/CairoFontEngine.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a0de57f9d08d06692c01f31160c2a02129042d74
Author: Carlos Garcia Campos <carlosgc at gnome.org>
Date:   Sat Feb 26 13:23:47 2011 +0100

    cairo: Handle font type fontCIDType2OT when creating freetype font
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=643273

diff --git a/poppler/CairoFontEngine.cc b/poppler/CairoFontEngine.cc
index 93c0ebe..423e866 100644
--- a/poppler/CairoFontEngine.cc
+++ b/poppler/CairoFontEngine.cc
@@ -467,8 +467,8 @@ CairoFreeTypeFont *CairoFreeTypeFont::create(GfxFont *gfxFont, XRef *xref,
       }
     }
     break;
-    
   case fontCIDType2:
+  case fontCIDType2OT:
     codeToGID = NULL;
     n = 0;
     if (((GfxCIDFont *)gfxFont)->getCIDToGID()) {


More information about the poppler mailing list