FOP creates corrupt PDF? (was: ValidationException: Document is empty)

2010-12-08 Thread Georg Datterl
You are correct. I inherited the file and thought I might migrate to FOP1.0 without much work. Anyway, now I changed my transformation and I'm back to present a true FOP problem. Bill.pdf is created with fop-1.0 as provided by maven. Output.pdf is created by fop-trunk. Output.pdf looks quite

Re: FOP creates corrupt PDF? (was: ValidationException: Document is empty)

2010-12-08 Thread Jeremias Maerki
I had no problem generating a good PDF from your bill.fo with FOP 1.0. I can see, though, that your bill.pdf is unfinished. It lacks the PDF trailer. Could be that you got some exception or that your code does not properly flush/close the written file. I did it from the command-line. On

Re: exact dimensions in apache fop

2010-12-08 Thread joe armstrong
Pascal Sancho pascal.sancho at takoma.fr writes: Hi, You should check your printer settings: did you uncheck the [scale to print] option? Not exactly - I used the Preview program in mac OS-X on a macbook the print menu only has a scale option which I selected and then set the scale factor