Re: Stopping FOP in Java

2008-07-22 Thread Jeremias Maerki
We don't currently provide a way of gracefully stopping FOP in mid-process. You could experiment with subclassing RenderPagesModel and check for a stop boolean in addPage() and throw a RuntimeException. For that you'll also have to subclass AreaTreeHandler. I'll just copy/paste some code here I

Re: Do I need to generate a different font metrics file for Unix and Windows

2008-07-22 Thread Siobhan
To clarify, the issue was that the path contained backslashes, I changed this to forward slashes and now all tests work on both Unix and Windows. Cheers Siobhan wrote: Hi, I am embedding a font by generating a font metrics file and passing this file to FOP through the use of the FOP

... No element mapping definition found for (Namespace URI: http://xml.apache.org/fop/extensions ...

2008-07-22 Thread Jeff Laughlin
I'm getting some strange exceptions from FOP... I've tried FOP .94 and .95beta on the Sun Java 6 JRE and the OpenJDK JRE. I'm running Ubuntu Hady 8.04. I'm trying to make a PDF from a docbook file. I'm using docbook xml/xslt with xsltproc and a makefile. This all used to work perfectly, but of

Re: How to pipe through fop? (perl-cgi - fop - pdf - Browser)

2008-07-22 Thread Vincent Hennebert
FYI: this has now been done. Vincent Jeremias Maerki wrote: Thanks for the feedback. Vincent indicated on fop-dev that he might change the # to the more standard -. On 11.07.2008 16:21:53 dbrenck wrote: Thanks! Did a svn co, ant build and tried it. Great result, works perfect! /BOW

Re: ... No element mapping definition found for (Namespace URI: http://xml.apache.org/fop/extensions ...

2008-07-22 Thread Jeremias Maerki
I'm not a DocBook users but this sounds like it's a matter of enabling the right extensions. See: http://www.sagehill.net/docbookxsl/InstallingAnFO.html#UsingFop For current FOP releases: --stringparam fop1.extensions 1 The DocBook-independent answer is: The http://xml.apache.org/fop/extensions

Font error messages

2008-07-22 Thread Jean-François El Fouly
I searched the archives and did not find an entry for this problem. Please forgive me if I've been blind or stupid and should have found a previous thread on this topic. We have in the logs tons of error messages looking like: 2008-07-22 15:52:45,544 ERROR [org.apache.fop.fo.PropertyList]

Re: Font error messages

2008-07-22 Thread Andreas Delmelle
On Jul 22, 2008, at 18:05, Jean-François El Fouly wrote: Hi Jean-François I searched the archives and did not find an entry for this problem. Please forgive me if I've been blind or stupid and should have found a previous thread on this topic. We have in the logs tons of error messages

Re: Font error messages

2008-07-22 Thread Jean-François El Fouly
Andreas Delmelle a écrit : The font shorthand requires at least two components: font-size and font-family. So it should be either of the two following variants: font-family=Verdana font=10pt Verdana See: http://www.w3.org/TR/xsl/#font (style, weight, variant, line-height are optional; size

Re: Font error messages

2008-07-22 Thread Andreas Delmelle
On Jul 22, 2008, at 19:14, Jean-François El Fouly wrote: Andreas Delmelle a écrit : The font shorthand requires at least two components: font-size and font-family. So it should be either of the two following variants: font-family=Verdana font=10pt Verdana See: