[xep-support] embed xep in java app

Nikolai Grigoriev grig at renderx.com
Wed Jan 23 11:51:41 PST 2002


Ellen,

> I am trying to run xep inside a java application. I followed the example
> in the xep document:
> java.util.Properties properties=System.getProperties();
>         properties.setProperty("com.renderx.FO2PDF.ROOT","c:\\XEP");
>         properties.setProperty("com.renderx.FO2PDF.VALIDATE","false");
>         properties.setProperty("com.renderx.FO2PDF.METRICS", "c:\\XEP\\afm");
>         System.setProperties(properties);
>
> I got the run time exception:
> Exception:cannot parse etc/fonts.xml:File "file:etc/fonts.xml" not found.

Call com.renderx.FO2PDF.Driver.init() after setting the properties.

Regards,
Nikolai Grigoriev
RenderX

Купфкв

-------------------
By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list