Mapping fonts for charts in documents
A developer can specify fonts of text components in a chart, such as the title, data points, and axis label. To render charts properly, the fonts specified in the chart must be available to the iHub Java virtual machine (JVM).
The procedure for making fonts available differs by platform.
In Windows, install fonts in the standard fonts folder for the operating system. For example, on Windows, from Control Panel, open Fonts. Choose Fonts and then choose File
➛Install new font.
In Linux, copy fonts to the JAVA_HOME/jre/lib/fonts directory.
iHub uses a default font for chart elements that do not specify a font. The default font depends on the locale setting of the iHub that generates the chart.
Table 13‑2 lists default fonts by language. To achieve consistent appearance in output in Linux and Windows, the default fonts must be available to the JVM.
Table 13‑2 Default fonts by language
Language | Default fonts |
Languages other than Chinese, Japanese, or Korean (non-CJK languages) | arial.ttf arialbd.ttf arialbi.ttf ariali.ttf times.ttf timesbd.ttf timesbi.ttf timesi.ttf |
Simplified Chinese | simsun.ttc |
Traditional Chinese | mingliu.ttc |
Japanese | msgothic.ttc msmincho.ttc |
Korean | gulim.ttc batang.ttc |