[poppler] poppler/CairoFontEngine.cc

Carlos Garcia Campos carlosgc at kemper.freedesktop.org
Tue Jul 14 08:23:36 PDT 2009


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

New commits:
commit e7475062b6ae5c495fa72faaf8fb3d97391f8544
Author: Carlos Garcia Campos <carlosgc at gnome.org>
Date:   Tue Jul 14 17:22:52 2009 +0200

    [cairo] Handle fontType1COT fonts in CairoFontEngine

diff --git a/poppler/CairoFontEngine.cc b/poppler/CairoFontEngine.cc
index a4edd12..f6fb260 100644
--- a/poppler/CairoFontEngine.cc
+++ b/poppler/CairoFontEngine.cc
@@ -443,6 +443,7 @@ CairoFreeTypeFont *CairoFreeTypeFont::create(GfxFont *gfxFont, XRef *xref,
   switch (fontType) {
   case fontType1:
   case fontType1C:
+  case fontType1COT:
     if (! _ft_new_face (lib, fileName->getCString(), &face, &font_face)) {
       error(-1, "could not create type1 face");
       goto err2;
@@ -529,7 +530,7 @@ CairoFreeTypeFont *CairoFreeTypeFont::create(GfxFont *gfxFont, XRef *xref,
     break;
     
   default:
-    printf ("font type not handled\n");
+    printf ("font type %d not handled\n", (int)fontType);
     goto err2;
     break;
   }


More information about the poppler mailing list