Custom fonts in Apache FOP
posted 10 years ago
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.