Hi all,

I'm trying to use FOP to generate PDF file. I use the command line
with my own userconfig.file.
The PDF file I'm trying to produce has to display Asian fonts - Thai
font in this case. But I keep getting the error message:

[ERROR] unknown font tahoma,normal,normal so defaulted font to any

Below is my userconfig.xml:

<fonts>

 <font metrics-file="file:///d:/temp/test/pdfconfig/tahoma.xml"
kerning="no" embed-file="file:///c:/Windows/Fonts/TAHOMA.TTF">
    <font-triplet name="Tahoma"/>
 </font>
 <font metrics-file="file:///d:/temp/test/pdfconfig/SimHei.xml"
kerning="no" embed-file="file:///d:/temp/test/pdfconfig/simHei.ttf">
    <font-triplet name="SimHei" style="normal" weight="normal"/>   
 </font>
</fonts>

Am I doing it wrong?


Regards,


nandipinto.

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

Reply via email to