arabic pfd in FOP 1.0

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

arabic pfd in FOP 1.0

nourhan
Hi,
i'm trying to print some invoice in arabic lang i got ###
then i've searched the internet and apache documents to get solutions .. one of the solutions was to generate font matrices for Fonts supported arabic lang ... but my FOP 1.0 doesn't support that feature any more and then i tryed to register my font in  userconfigeration XML in this link http://xmlgraphics.apache.org/fop/0.95/embedding.html#config-external
http://xmlgraphics.apache.org/fop/1.0/fonts.html#register
and i still got the same result ...
i think i have a problem with registering the font or in how to i used this code
import org.apache.avalon.framework.configuration.Configuration;
import org.apache.avalon.framework.configuration.DefaultConfigurationBuilder;

/*..*/

DefaultConfigurationBuilder cfgBuilder = new DefaultConfigurationBuilder();
Configuration cfg = cfgBuilder.buildFromFile(new File("C:/Temp/mycfg.xml"));
fopFactory.setUserConfig(cfg);

/* ..or.. */

fopFactory.setUserConfig(new File("C:/Temp/mycfg.xml"));


in my project because i didn't got any .jar file to my class when the progrmme runs .
??