Through java.awt.Font.createFont(int fontFormat, InputStream fontStream),
you can load custom TrueType fonts (and, since JDK 1.5, Type 1 fonts).
I'm sure this could somehow be integrated into FOP. You'd probably have
to cache the initial Font instances in render.java2d.FontSetup.
Furthermore, you'd
Adrian Cumiskey wrote:
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
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).
Getti
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 fon
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 si
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?
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:
htt
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...
Does Fonts used in fop-awt are system/jdk fonts?? are they fop
user-config's file fonts??
I've t