I'm working with the jEuclid plugin for FOP and I have trouble with it when outputting TIFF files.
I wrote a Java program that reads an XML file and uses an XSLT stylesheet with FOP to create a multipage TIFF file. Sometimes the XML contains equations, so in my XSLT I'm converting this info in MathML and I'm using the jEuclid FOP plugin to display properly the equation. This works perfectly when I'm outputting to PDF, however, in my FOP factory if I change the output to TIFF file, the equations are not displayed anymore and jEuclid returns no error. Here is my configuration:
- FOP 1.0
- jEuclid 3.1.9 (I included the jeuclid-core-3.1.9.jar and jeuclid-fop-3.1.9.jar files into my classpath)
- JDK 1.7
I found on the jEuclid website that TIFF output is not supported, but that it can be in theory if I add the jai-imageIO jar in my classpath, which I did. I can use a workaround by exporting to PDF in FOP and then converting the PDF to TIFF but I'd like to understand why it doesn't work with TIFF output in FOP... If needed I can provide samples and code, I'm new to jEuclide and FOP but those two seem to be great tools ! Thanks for your help,