I update the FopServlet from examples dir.
like this
.....
response.setContentType("application/pdf");
File userConfigFile = new File("C:/xmllib/conf/userconfig.xml");
Options options = new Options(userConfigFile);
Driver driver = new Driver(foFile, out);
driver.setLogger(log);
driver.setRenderer(Driver.RENDER_PDF);
driver.run();
.......
this works ok.
-----Original Message-----
From: Ra�l Carazo [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 27, 2001 10:22 AM
To: [EMAIL PROTECTED]
Subject: RE: Fonts
But I'm using it from a servlet. And I do call to the userconfig file. This
file contains a line like this:
<font metrics-file="complete Path for the verdana.xml file" kerning="yes"
embed-file="">
<font-triplet name="Verdana" style="normal" weight="normal"/>
</font>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]