Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Corrupt PDFs with Scribus + PDF::Reuse + PDF::Table

by snoopy (Deacon)
on Feb 21, 2008 at 23:14 UTC ( #669415=note: print w/replies, xml ) Need Help??

in reply to Corrupt PDFs with Scribus + PDF::Reuse + PDF::Table

Some suggestions.

1. My best guess is that something is altering the graphics state and not restoring it. Not sure if you are doing any translation, rotation, scaling, etc, but make sure graphics state is not being saved & restored (e.g. using PDF::API2's $gfx->save and $gfx->restore on page graphics).

2. If you're getting postscript error's, it could be useful to see them!

3. I've found that ghostscript gives the best diagnostics. If you haven't already, it's worthwhile to try view your pdf's directly with ghostscript, checking for errors. Also convert to postscript using pdf2ps (or xpdf's pdftops) and also view these with ghostscript.

Good luck!

  • Comment on Re: Corrupt PDFs with Scribus + PDF::Reuse + PDF::Table

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://669415]
and the universe expands...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2018-01-24 00:04 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (254 votes). Check out past polls.