Hello,
If I want to use my configuration in embedded program, I can add the
following statement in my program for generating PDF.
Options op = new Options(new File("myconfig.xml"));
It works if the "myconfig.xml" is in the physical folder.
and the following is the content of myconfig.xml.
<configuration>
<fonts>
<font metrics-file="rs_song.xml" embed-file="rs_song.ttf"
kerning="yes">
<font-triplet name="Song" style="normal" weight="normal"/>
<font-triplet name="Song" style="normal" weight="bold"/>
<font-triplet name="Song" style="italic" weight="normal"/>
<font-triplet name="Song" style="italic" weight="bold"/>
</font>
</fonts>
</configuration>
Questions and need help:
1. If the "rs_song.xml" and the "rs_song.ttf" are in a JAR file, how can I
do ???
Please help.
Best regards,
Eric
==========================
If you know what you are doing,
it is not called RESEARCH!
==========================
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]