Re: Mimic a specific output with the intermediate format [was: Re: NPE when using non-base14 font via IF XML]

2009-10-07 Thread Jeremias Maerki
Vincent, the "-if [mime] out" pattern wasn't implemented for the command-line. But I've just done that missing piece: http://svn.apache.org/viewvc?rev=822753&view=rev On 07.10.2009 13:27:57 Vincent Hennebert wrote: > While I'm at it, and taking the same FO file and config file: specifying > a mime

Re: NPE when using non-base14 font via IF XML

2009-10-07 Thread Alexander Kiel
Hi Jeremias, > Alexander, that hints to a buggy XSLT processor. Please replace the > Xalan coming with the JVM with the one bundled with FOP. > http://xml.apache.org/xalan-j/faq.html#faq-N100EF Thanks for this hint. I just use Java 1.4 not very often. With Java 1.6 it works. Now I see the same N

Re: NPE when using non-base14 font via IF XML

2009-10-07 Thread Jeremias Maerki
Alexander, that hints to a buggy XSLT processor. Please replace the Xalan coming with the JVM with the one bundled with FOP. http://xml.apache.org/xalan-j/faq.html#faq-N100EF On 07.10.2009 14:42:52 Alexander Kiel wrote: > Hi Vincent, > > I get a completely different error. If I ran > >fop -c

Re: NPE when using non-base14 font via IF XML

2009-10-07 Thread Alexander Kiel
Hi Vincent, I get a completely different error. If I ran fop -c config.xconf test.fo -if if.xml There is no output - so it seems to run fine. If I run fop -c config.xconf -ifin if.xml test.pdf afterwards, I get: [Fatal Error] if.xml:4:12: The prefix "x" for element "x:xmpmeta" is not

Re: NPE when using non-base14 font via IF XML

2009-10-07 Thread Alexander Kiel
Hi Vincent, > The script is called just fop. Look at the root of the project, it’s > actually a shell script. > http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop?view=log oh I was just blind. Thanks. Alex signature.asc Description: This is a digitally signed message part

Re: NPE when using non-base14 font via IF XML

2009-10-07 Thread Vincent Hennebert
Hi Alexander, Alexander Kiel wrote: > Hi Vincent, > >> To reproduce: put the config file at the root of a FOP local copy, then >> run the following: >> fop -c config.xconf test.fo -if if.xml >> fop -c config.xconf -ifin if.xml test.pdf > > I would like to run your example this way, but t

Re: NPE when using non-base14 font via IF XML

2009-10-07 Thread Alexander Kiel
Hi Vincent, > To reproduce: put the config file at the root of a FOP local copy, then > run the following: > fop -c config.xconf test.fo -if if.xml > fop -c config.xconf -ifin if.xml test.pdf I would like to run your example this way, but there is no fop.sh. Is there such a thing for the

Mimic a specific output with the intermediate format [was: Re: NPE when using non-base14 font via IF XML]

2009-10-07 Thread Vincent Hennebert
While I'm at it, and taking the same FO file and config file: specifying a mime type for the intermediate format doesn’t seem to work, contrary to the area tree. Take the config file, remove the part corresponding to the intermediate format (

NPE when using non-base14 font via IF XML

2009-10-07 Thread Vincent Hennebert
Hi, If I render the attached FO file into IF XML with the attached configuration file, then render the xml file into PDF, then I get the following error: SEVERE: Exception java.lang.NullPointerException: fontName must not be null at org.apache.fop.cli.InputHandler.transformTo(InputHandler.