X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fpdf%2Fxpdf-changes.patch;h=b2b7a925b7791bcaed87270198528f0fda4246b2;hp=6f3ec45aff99e53c9529b6050aad4abc26d8f15f;hb=8a8b565fc2afe928ac84943079b3500ff5667ba9;hpb=073f2cc506ee82b195a24f4982653b795e282354 diff --git a/lib/pdf/xpdf-changes.patch b/lib/pdf/xpdf-changes.patch index 6f3ec45..b2b7a92 100644 --- a/lib/pdf/xpdf-changes.patch +++ b/lib/pdf/xpdf-changes.patch @@ -1,24 +1,3 @@ -Index: FoFiType1C.cc -=================================================================== -RCS file: /home/kramm/cvs/swftools.cache.cvsroot/swftools.cache/pdf2swf/xpdf/FoFiType1C.cc,v -retrieving revision 1.3 -retrieving revision 1.4 -diff -u -r1.3 -r1.4 ---- FoFiType1C.cc 3 Dec 2005 10:11:33 -0000 1.3 -+++ FoFiType1C.cc 3 Dec 2005 10:30:41 -0000 1.4 -@@ -231,8 +231,11 @@ - (*outputFunc)(outputStream, - "0 1 255 {1 index exch /.notdef put} for\n", 40); - enc = newEncoding ? newEncoding : encoding; -+ if(!enc) { -+ fprintf(stderr, "convertToType1: Warning: No Encoding\n"); -+ } - for (i = 0; i < 256; ++i) { -- if (enc[i]) { -+ if (enc && enc[i]) { - sprintf(buf, "dup %d /%s put\n", i, enc[i]); - (*outputFunc)(outputStream, buf, strlen(buf)); - } Index: Gfx.cc =================================================================== RCS file: /home/kramm/cvs/swftools.cache.cvsroot/swftools.cache/pdf2swf/xpdf/Gfx.cc,v @@ -702,3 +681,15 @@ diff -u -r1.5 -r1.6 - startPage(0, NULL); + startPage(0, NULL, 0,0,0,0); } +--- SplashFTFontEngine.cc 2006-11-19 22:30:44.000000000 +0100 ++++ SplashFTFontEngine.cc 2006-11-19 22:30:56.000000000 +0100 +@@ -13,9 +13,7 @@ + #endif + + #include +-#ifndef WIN32 + # include +-#endif + #include "gmem.h" + #include "GString.h" + #include "gfile.h"