Using TrueType Fonts for StyleVision PDF Generation


StyleVision is Altova’s visual stylesheet designer for publishing XML and database data in PDF and other formats. Limitations in the design of the Apache FOP processor cause TrueType fonts to be unavailable for PDF generation. This tip for creating TrueType font metrics files, along with the downloadable scripts, provides StyleVision users with a workaround for this issue.
A metrics file is created by calling the Java application TTFReader. TTFReader is included with Apache FOP, so if you have Apache FOP installed, TTFReader is already installed, too.
If you are proficient in calling a Java application, you can call TTFReader yourself to create the metrics file for each TrueType font. Alternatively, we have provided a set of command files below that ease this task. With these command files, you can easily create metrics files for all the TrueType fonts installed on your computer.
Please visit https://www.altova.com/technote12.html to view the complete tip with screenshots and a link to download the command files.
If you’re not already a StyleVision user, you may download a free, 30-day trial here: https://www.altova.com/download.html

Tags: , , , ,