In 0.95 / trunk the need for metrics is unnecessary, assuming you set the config path in your application, it will work providing you are supplying the right font to the right renderer.

Have you tried on the command line using fop.bat to make sure your config is ok?

Thanks
Martin





On 19/03/2010, at 8:10 AM, "Pete Allison" <macsma...@aol.com> wrote:

I’m trying to figure out how to make other fonts available to FOP.



My current configuration:



1. FOP 0.94

2. I’m using the servlet example code: ..\fop-0.94\src\java\org\apac he\fop\servlet

3. Building using ant.

4. Deploy the WAR file under Tomcat 6.0



I know how generate the font metrics files (XML) using TTFReader.



I cannot figure out how to make these available to FOP. I thought (obviously incorrectly) that the adding my font information to fop.xconf (path: ..\fop-0.94\conf) and then rebuilding/redeploying the WAR file would do it, but all I get are the built-in fonts.



Do I need to make my config file available outside the WAR file, with the necessary code in my servlet? If so, I think I can figure out how to do that.





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

Reply via email to