Re: Running FOP on Webserver?

2005-10-10 Thread J.Pietschmann
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.

Re: Runtime exception

2005-10-10 Thread Greg Hulands
Thanks again. Greg On 10/10/2005, at 9:59 PM, Jeremias Maerki wrote: content-width="scale-to-fit" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Runtime exception

2005-10-10 Thread Jeremias Maerki
Again, you hit a problem where FOP Trunk actually does better than FOP 0.20.5. The implementation in 0.20.5 was wrong. You need to add content-width="scale-to-fit". Together with the scaling="uniform" FOP Trunk will make sure that the image fits into the 3x3cm box. BTW, you can now specify the bor

Re: Runtime exception

2005-10-10 Thread Greg Hulands
Thanks for your help Jeremias. Is there currently a problem with scaling an external-graphic in trunk? It seems with my component that generates the pdf, the image is now showing at its actual pixel size and not the size set in the fo. width="3cm" height="3cm"> Gr

Re: Runtime exception

2005-10-10 Thread Jeremias Maerki
On 10.10.2005 13:36:08 Greg Hulands wrote: > Aaaahhh, that was it. I had barcode4j in their. I've started writing the new FOP Trunk-compatible extension for Barcode4J but haven't finished, yet. I hope I can do that before the end of the month. > I am now getting this error: > > fo:external-gra

Re: Runtime exception

2005-10-10 Thread Greg Hulands
Aaaahhh, that was it. I had barcode4j in their. I am now getting this error: fo:external-graphic is not a valid child element of fo:block-container. This is the snippet it is referring to: width="3cm" height="3cm"> Do I just move the external graphic out of the block container and

Re: Runtime exception

2005-10-10 Thread Jeremias Maerki
I'm pretty sure that is because of a FOP extension that is dynamically loaded. The FOP extensions built for 0.20.5 are not compatible with the FOP extensions for FOP Trunk. Do you have any FOP extensions in your classpath? On 10.10.2005 12:52:53 Greg Hulands wrote: > Hi, > I have just downloaded t

Runtime exception

2005-10-10 Thread Greg Hulands
Hi, I have just downloaded the latest from svn and everything builds ok, but when I try to convert some fo to pdf I get a runtime exception (stack trace below). I added a log.debug message into addElementMapping and then rebuilt fop to try and log out what class it was trying to load to tr

Re: Running FOP on Webserver?

2005-10-10 Thread Timo Haberkern
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 t

Re: Running FOP on Webserver?

2005-10-10 Thread Chris Bowditch
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,

Running FOP on Webserver?

2005-10-10 Thread Timo Haberkern
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 X