An issue may occur where the font displays incorrectly in one if the following ways:

  • The text in the output document is not in the right font.
  • The text in the output document does not display the same way on Windows and on Linux.

To solve this issue, follow the steps below:

  1. Inspect the document to determine what fonts it requires.
  2. Make sure those fonts are installed on the system. The fonts are usually installed in the font.properties file.
  3. Make sure the fonts are registered with Java and are of a type supported by your version of Java.

There are several resources on the Internet that discuss how to do this. There are also some helpful tools such as font viewers that make this easier. Some resources we like are: