You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Timo Haberkern <th...@emedia-office.de> on 2005/10/10 12:21:43 UTC
Running FOP on Webserver?
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???
regards
Timo
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Running FOP on Webserver?
Posted by "J.Pietschmann" <j3...@yahoo.de>.
Timo Haberkern wrote:
> 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.
That's a question for a hardcore Java forum.
You can also have a look at
http://xmlgraphics.apache.org/fop/faq.html#svg-headless
I also think BMP, JPG and GIF should work fine on headless
servers without any changes.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Running FOP on Webserver?
Posted by Timo Haberkern <th...@emedia-office.de>.
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: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Running FOP on Webserver?
Posted by Chris Bowditch <bo...@hotmail.com>.
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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org