Hi David,

The current implementation of just makes use of java fonts that have been made available from the O/S via a call to GraphicsEnvironment.getLocalGraphicsEnvironment(), it does not call upon and make use of the fonts defined in the fop configuration (as the PDF renderer does).

Getting this to work would not be a small task (not something easily extendable). Its best to log or raise a bug/feature request for this feature at http://xmlgraphics.apache.org/fop/bugs.html.

Adrian.

David Morales wrote:
Hi Adrian,

And there isn't a programmatic way to achieve this....???

I'va tried to set "sun.java2d.fontpath" system property... and also copying mt fonts to $jdk/jre/lib/fonts...

What about org.apache.fop.render.java2d.FontSetup class???? can i extend this funcionality or anyother to add fonts??

Thanks.



Adrian Cumiskey escribió:
Hi David,

This looks to be reasonably helpful on the subject :-

http://java.sun.com/j2se/1.3/docs/guide/intl/addingfonts.html.

Basically you just need to install the missing fonts on your operating system. If this doesn't work you might have to try tweaking your fonts.properties file that sits in the jre/lib folder of your java installation.

Adrian.

David Morales wrote:
Sorry... i had problems in other apache mailing lists...

And then... can't i set my own fonts when using awt?? i mean, awt-fop stablishes fonts?, or awt-java?

Thanks again.


Chris Bowditch escribió:
David Morales wrote:


Hi...

Can anybody tell me how can i change fonts in fop-awt preview?? i mean, if i create a pdf with fop i can configure fonts, but when i do the same operation in awt fonts aren't the same...

Why do you keep posting the same question. I already answered you here:

http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200701.mbox/[EMAIL PROTECTED]

If that doesn't help you then please re-phrase the question.

Thanks,

Chris




---------------------------------------------------------------------
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]




---------------------------------------------------------------------
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]




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

Reply via email to