Specifying the Fonts to Use in PDFs on Linux/UNIX

Use

If you are running SAP Strategy Management on a Linux/Unix platform, and you print reports, email reports, and use Briefing Books, you may notice font issues in the generated PDFs. This occurs because fonts can be stored on a Linux/UNIX server in varying places and the strategy management application requires the exact location of the fonts to run properly.

Follow these steps to find the system fonts you want to use on the Linux/UNIX system and make those fonts available to the strategy management application.

Prerequisites

You are running SAP Strategy Management on a Linux/Unix platform and you are familiar with Java and UNIX.

Procedure

  1. Find the fonts on the Linux/Unix server that you want to use by running the following font resolution routine. This Java program, which you run in a terminal window, identifies the fonts that are installed on the system and that are visible to Java. The results are saved in an Excel .CSV file. Run the program using:

    Java GetAllFonts > allfont.<OS>.csv

  2. Access the strategy management properties in SAP NetWeaver and modify the following Java System Properties.

    pd4ml.fontconfigpath = java:/<Install-Directory>/fontconfig.<OS>.properties

    pd4ml.fontdir = file:/<FontDirectory>/fonts

    For information about these Java System Properties and setting strategy management Java System Properties, see Configuring the Application Properties.

  3. If the new font configuration does not take effect, restart SAP NetWeaver.