Using the Pure Java AWT and Custom Fonts

To enable GIF and PNG output on UNIX systems, PopChart 4.0.5 takes advantage of the Pure Java AWT. This allows GIF/PNG images to be generated on UNIX compatible systems without the need for installing Xvfb (virtual frame buffer) or XWindows. It also increases performance by up to 10% over Xvfb and XWindows. However, if you are serving GIF or PNG images, it requires more RAM (at least 128 Megs for lighter loads, 256 Megs for heavy loads).

You change the amount of RAM that is allocated to PopChart Server in the Administration Console by going to the Settings > Memory page.

By default, PJA is enabled on UNIX platforms and disabled on Windows platforms. You can change this setting at the bottom of the Settings > Image Type page of the Administration Console. You can also control this setting with the - pjafont and - pjawt configuration settings.

If you would like to achieve Windows-like results with fonts, you can also select Use Corda Font Set from the Settings > Image Type page of the Administration Console.

Note: PJA is automatically included with Java VMs 1.4 and higher. Because of this, if you are using Java VM 1.4 or higher, you must disable PopChart Server's Pure Java AWT in the Administration Console.