fixed Type0C handling.
authorkramm <kramm>
Sun, 6 Mar 2005 20:20:27 +0000 (20:20 +0000)
committerkramm <kramm>
Sun, 6 Mar 2005 20:20:27 +0000 (20:20 +0000)
pdf2swf/SWFOutputDev.cc

index ad47eac..f92e95c 100644 (file)
@@ -1279,8 +1279,7 @@ char*SWFOutputDev::writeEmbeddedFontToFile(XRef*ref, GfxFont*font)
        msg("<notice> Collection: %s", c.getCString());
     }*/
 
-    if (font->getType() == fontType1C ||
-       font->getType() == fontCIDType0C) {
+    if (font->getType() == fontType1C) {
       if (!(fontBuf = font->readEmbFontFile(xref, &fontLen))) {
        fclose(f);
        msg("<error> Couldn't read embedded font file");