Thanks for this hint. Is there a possibility to add the option as virtual machine default? Because i can't use the command line switch if i run the FOP classes from PHP directly.

Timo

Chris Bowditch wrote:

Timo Haberkern wrote:

Hello all,

i like to use FOP from PHP and found a PHP class that can do so. But in the documentation i found the hint that FOP can't render images into PDF files if no XServer is installed. And i know no webserver that has an XServer installed by default... Is that true, do i really need an XServer to run FOP and if i want to include images (JPEG) into the PDF???


Whether an XServer is required depends on the JDK you are using. v1.4 and above have a special option -Djava.awt.headless=true, which allows java AWT classes to be used without an XServer present.

Chris



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to