PRB: Text is not properly rendered when Swiff Chart Generator is running on a Unix server.
The information in this article applies to:
- Swiff Chart Generator 2
- Swiff Chart Generator 3
Symptoms: Text elements are rendered as blocks or with invalid characters.
Comments: This problem often occurs with Asian or European text elements.
Solution: When using a custom font in a chart style (*.scs file), the corresponding True Type font file needs to be located on the server where Swiff Chart Generator is installed.
To install a True Type font for Swiff Chart Generator:
- Locate the font file (*.ttf) on Windows computer. The fonts folder on Windows is usually located in C:\WINDOWS\Fonts.
- Copy the True Type file on your Linux server, in a font directory you choose, for example: /home/server/fonts
- On the Unix server, edit the file swfchart.ini (located in the install
directory of Swiff Chart Generator) and add:
An alternate method is to copy the True Type font file in /usr/local/SwiffChart/ttf
Swiff Chart Generator will then locate the True Type font used in your chart style and properly use it.