Comment 4 for bug 620037

Revision history for this message
Eric B (ebischoff) wrote :

I have reproduced this problem on a fresh Ubuntu Lucid install.

To reproduce:
 - install fop with "sudo aptitude install"
 - save test.fo and test.png (attached to this bug report) into your working directory
 - run fop with the following command:
     $ fop -fo test.fo -pdf test.pdf
 - see the error messages and the broken PDF file

For the problem to occur, the image needs have no size hints. That's the case of the image attached to this bug report. A workaround is of course to rework the image with the gimp, as the gimp will add size hints to the image. However, we have tons of images produced under windows that do not have these hints, so this workaround is not really a solution, as it would take ages to convert all the images.

I have also attached the list of packages on my fresh Ubuntu install, with the package version numbers.

Again, the most important information is that the problem disappears if openjdk is replaced with sun-jdk.