Jeremias Maerki wrote:
The triplet associates the name, style and weight with a particular font.
You can associate multiple triplets with one font. So if you use
"Frutiger45Light"
in the triplet, you have to use "Frutiger45Light" in the FO, not "Frutiger 45
Light".
You could, for example, do this:
<font metrics-file="font.xml" embed-file="D:\fop094\font.ttf">
<font-triplet name="Frutiger45Light" weight="normal" style="normal"/>
<font-triplet name="Frutiger 45 Light" weight="normal" style="normal"/>
</font>
2. How do I get the correct font name? Is it the one given in the font
metrics file? Or is it the one given during font metrics file
compilation (in my cases, the second one has spaces).
The name in the metrics file is irrelevant and not used at all. Again,
it's the triplet that plays the tune here.
Hi Jeremias,
thanks a lot for the information. Finally, I solved my problem. It was
not only related to the name of the font.
I did not specify the "renderers"-elements in my config file for the pdf
renderer. The <font>-elements have to be a child of this.
http://xmlgraphics.apache.org/fop/0.94/configuration.html
I found the hint here:
http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-dev/200703.mbox/[EMAIL
PROTECTED]
Best regards, Diana
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]