Olivier,

You have to use system fonts with the png renderer

http://xmlgraphics.apache.org/fop/0.92/output.html#general-fonts

...
Most FOP renderers use a FOP-specific system for font registration. However,
the Java2D/AWT and print renderers use the Java AWT package, which gets its
font information from the operating system registration. This can result in
several differences, including actually using different fonts, and having
different font metrics for the same font. The net effect is that the layout
of a given FO document can be quite different between renderers that do not
use the same font information.
...

Peter

> -----Original Message-----
> From: Olivier Mansour [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 03, 2006 12:59 PM
> To: fop-users@xmlgraphics.apache.org
> Subject: PNG renderer - does fop supporting fonts
> 
> Hey
> 
> In my conf file I have those lines
> 
> <renderer mime="image/png">
> <fonts>
> <!-- font triplet : they are working well with the pdf renderer -->
> </fonts>
> </renderer>
> 
> but FOP is ignoring my fonts when I run it :
> 
> Font 'Arial, normal, 400' not found, Substituting with default font
> and so on ...
> 
> An idea ?
> 
> Thank you
> Olivier
> 
> 
> --
> Olivier Mansour      http://www.clever-age.com
> Clever Age Lyon - conseil en architecture technique
> GSM: +33 6 11 03 23 77  Tél: +33 4 78 89 46 45
> 
> Clever Age vous invite à ses petits déjeuners du Jeudi
> http://www.clever-age.com/actualites/petits-dejeuners/
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to