Index: src/doc/PdfFontFactory.cpp
===================================================================
--- src/doc/PdfFontFactory.cpp  (revision 1661)
+++ src/doc/PdfFontFactory.cpp  (working copy)
@@ -314,6 +314,10 @@
          const char* pszExtension = pszFilename + strlen( pszFilename ) - 3;
          if( PoDoFo::compat::strncasecmp( pszExtension, "ttf", 3 ) == 0 )
              eFontType = ePdfFontType_TrueType;
+        else if( PoDoFo::compat::strncasecmp( pszExtension, "otf", 3 ) == 0 )
+            eFontType = ePdfFontType_TrueType;
+        else if( PoDoFo::compat::strncasecmp( pszExtension, "ttc", 3 ) == 0 )
+            eFontType = ePdfFontType_TrueType;
          else if( PoDoFo::compat::strncasecmp( pszExtension, "pfa", 3 ) == 0 )
              eFontType = ePdfFontType_Type1Pfa;
          else if( PoDoFo::compat::strncasecmp( pszExtension, "pfb", 3 ) == 0 )

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to