xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Bromberg <bromb...@tzi.de>
Subject Font embedding FOP dev
Date Tue, 27 Sep 2005 20:27:12 GMT

i wants to test to switch my project from 20.5 to dev.

Now i want to embedd my ttf fonts via the fop.xconf.
There i've these entrys:
<font metrics-url="ArialUNI.xml" kerning="yes" embed-url="ARIALUNI.TTF">
    <font-triplet name="ArialUNI" style="normal" weight="normal"/>

Now i call:

File userConfigFile = new File(basePath+"/confdir/fop.xconf");

but i always get the exception "D:\mypath_to_run\ArialUNI.xml 
FileNotFoundException" .... the Path is not relative to the xconf! it is 
relative to my running directory.

How can i set the right directory? I've tried to set the 
D:\mypath_to_run\confdir as basePath via the  
fop.getUserAgent().setBaseURL(...) but there was no change...

How to do?



To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

View raw message