System requirements for XSL-FO

The Apache XSL Formatting Objects processor (FOP) and JDK 1.4 are installed with InfoMaker to support saving as XSL-FO, saving as PDF using XSL-FO, and Java printing. FOP is installed in Sybase\Shared\PowerBuilder\fop-0.20.4. JDK 1.4 is installed in Sybase\Shared\PowerBuilder\jdk14.

When you deploy applications that use XSL-FO or Java printing, you must deploy the fop-0.20.4 directory and the Java Runtime Environment (the JRE is available in a subdirectory of jdk14) with your application. These directories must be deployed in the same directory as the PowerBuilder runtime files. For more information, see “Using the Apache FO processor”.

On Windows DBCS platforms, you also need to install a file that supports DBCS characters to the Windows font directory, for example, C:\WINNT\fonts. To use these fonts, the userconfig.xml file in the directory Shared\PowerBuilder\fop-0.20.4\conf must be modified to give the full path name of the files you use, for example:

<font metrics-file="C:\Program%20Files\Sybase\Shared\
PowerBuilder\fop-0.20.4\conf\cyberbit.xml"
kerning="yes"embed-file="C:\WINNT\Fonts\Cyberbit.ttf">

For more information about configuring fonts, see the Apache Web site.