Re: Loading font error with fop

2010-02-17 Thread philippe voncken
It's work thanks. It was my fault, I've created an UriResolver which don't work with FileSystem. :/ Philippe 2010/2/16 Jeremias Maerki d...@jeremias-maerki.ch metrics-url and embed-url requires a URL, not a filename. Please note that starting with FOP 0.95 you can omit the metrics-url

Loading font error with fop

2010-02-16 Thread philippe voncken
Hello, I want loading a font with fop. Font is Parisine Office. I generated xml files with following command: java -cp

Re: Loading font error with fop

2010-02-16 Thread Jeremias Maerki
metrics-url and embed-url requires a URL, not a filename. Please note that starting with FOP 0.95 you can omit the metrics-url attribute. The XML font metrics step is no longer required. So, changing /test/ParisineOffice-Regular.ttf to file:/test/ParisineOffice-Regular.ttf should do it. On

Re: Font error

2009-06-05 Thread Andreas Delmelle
On 05 Jun 2009, at 14:20, Nicolae Marasoiu wrote: Hi Nicolae I use a font, as attached (automatically templating-generated FO source, FOP config, ttf font, metrics xml). When generating PNG image things are stable. When outputing pdf, from local app, it is also stable. When outputing pdf

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:

Re: Font Error

2005-08-30 Thread Jeremias Maerki
FOP was most likely not able to load a font metrics file. I'm pretty sure you got an error message earlier in the process. Please check your log output. On 29.08.2005 19:18:06 Sajeesh N Kakkat wrote: Hi, I am getting the below error when I try to generate a PDF which has Chinese texts.

Font Error

2005-08-29 Thread Sajeesh N Kakkat
Hi, I am getting the below error when I try to generate a PDF which has Chinese texts. Does anyone know what could be the reason ? java.lang.NullPointerException at org.apache.fop.render.pdf.fonts.LazyFont.mapChar(LazyFont.java:121) at