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\apache\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.

 

 

Reply via email to