Fixing invalid characters ("#") in the PDF of test assets

To save test assets to a localized PDF file, the correct language fonts must be installed and configured otherwise pound signs (#) will be replace characters/glyphs in IBM® Rational® Quality Manager.

Before you begin

The system in which Rational Quality Manager is installed must contain the required fonts for the desired PDF language, the font must be installed in the system's font directory, and the font must be a true type font (.ttf) file, not a true type collection (.ttc) file.

About this task

Note: If a font is missing a character/glyph, it is replaced with the "#" symbol when viewing the PDF. Your browser window should be set to the language to use for the PDF file when exporting the test asset.

The Jazz Server Administrator must specify the desired font for each locale that will be generating PDFs in the Advanced Properties page of IBM Rational Quality Manager as follows:

Procedure

  1. On the server, as a Jazz server administration, click admin > Jazz Server Administration .
  2. Click on the Advanced Properties entry under Configuration.
  3. In the Advanced Properties tab, scroll down to the XSLFO Component section and click Edit
  4. In the field for the particular language you want, set the default font. The name that is specified must be the True Type font name for a given font, and the font must contain the necessary glyphs. For example, if you want the PDF file in Japanese, you would set the Default font for PDF rendering (Japanese) to MS Gothic.
  5. Click Save in the Advanced Properties page (at the top).

Results

The generated PDF files should now contain the correct characters for the language.

Feedback