File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Custom fonts in Apache FOP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Custom fonts in Apache FOP" Watch "Custom fonts in Apache FOP" New topic
Author

Custom fonts in Apache FOP

Christopher Elkins
Ranch Hand

Joined: Oct 26, 2004
Posts: 45
Does anyone here have experience using custom fonts with FOP? I've got a java program that uses FOP to create a pdf file via an xsl transformation. There is a specific font that I have to use. I've created the font metric files and a userconfig file just like the documentation states. I've also loaded the config file in my code using the org.apache.fop.apps.Options object. When I reference the new font in my xsl and try to run it the java console (Eclipse) states that it is an unknown font and will use the default instead. I'm on a tight deadline; any help would be greatly appreciated. Thanks.


Christopher Elkins, SCJP Java 2 Platform
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Custom fonts in Apache FOP