From: kramm Date: Fri, 19 Dec 2008 07:57:14 +0000 (+0000) Subject: removed debug code X-Git-Tag: release-0-9-0~705 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=b7f6421a2d78b46f61bc58a934cef4d1c11315ec;p=swftools.git removed debug code --- diff --git a/lib/pdf/xpdf-changes.patch b/lib/pdf/xpdf-changes.patch index 2247f5f..456968e 100644 --- a/lib/pdf/xpdf-changes.patch +++ b/lib/pdf/xpdf-changes.patch @@ -39,24 +39,6 @@ diff -u -r1.9 -r1.10 } Gfx::Gfx(XRef *xrefA, OutputDev *outA, Dict *resDict, -@@ -3783,6 +3789,7 @@ - pushResources(resDict); - - // save current graphics state -+ GfxState*mystate = state; - saveState(); - - // kill any pre-existing path -@@ -3848,6 +3855,9 @@ - - // restore graphics state - restoreState(); -+ if(state!=mystate) { -+ fprintf(stderr, "Invalid state nesting in PDF file- file broken?\n"); -+ } - - // pop resource stack - popResources(); Index: GfxFont.h =================================================================== RCS file: /home/kramm/cvs/swftools.cache.cvsroot/swftools.cache/pdf2swf/xpdf/GfxFont.h,v