Specify Fonts for PDF Reports Generated by SAS Web Report Studio

Configure the Display of Special Fonts in PDF Reports

When printing SAS Web Report Studio reports in non-Western languages (for example, Chinese), the generated PDF report might fail to display the content if the fonts are not configured in the SAS Management Console Configuration Manager. For example, the default font for SAS Web Report Studio reports is Times Roman. However, the Times Roman font does not contain glyphs that are used in certain languages. To ensure that special fonts in different languages display correctly in the PDF reports, follow these steps:
  1. In SAS Management Console on the Plug-ins tab, navigate to Application Managementthen selectConfiguration Managerthen selectWeb Report Studio 4.3.
  2. Right-click and select Properties to display the Web Report Studio 4.3 Properties dialog box.
  3. Click on the Advanced tab.
  4. Click Add to display the Define New Property  dialog box.
  5. Enter the property name as shown (note that there is a period at the beginning of the property name), along with the property value as shown:
    Property Name: .vmwide.com.sas.report.render.view.pdf.itext.font.fontDirectories
    Property Value: Font_path_string
    To specify multiple font directory paths in the UNIX or z/OS environment, follow this format: Font_path_string1:Font_path_string2:Font_path_string3. In the Windows environment, follow this format: Font_path_string1;Font_path_string2;Font_path_string3
  6. Click OK to exit the Define New Property dialog box.
  7. Click OK to exit the Web Report Studio 4.3 Properties  dialog box.
  8. To enable this property to take effect, restart your Web application server.