{font name} [Bold] [Italic]
The followings are some examples:
Arial Bold Times New Roman Courier Bold Italic SansSerif
Special Note for Headless Systems
Headless systems refer to systems that do not have GUI, such as some Linux/UNIX servers.
On Microsoft Windows and Mac OS X, Java uses the font subsystem provided by the OS. On Linux/UNIX, there is no font subsystem at the OS level. Many Java VM will attempt to use X Window services to support fonts. If the system is headless and does not has X Window running, the Java font system may not function.
As a backup, ChartDirector also comes with its own internal font system. If the Java font system is not functional, ChartDirector will automatically use its internal font system. The internal font system only has 3 fonts - generic sans serif (Arial like font), generic serif (Times New Roman like font) and generic monospace (Courier like font). All of them have bold, italic and bold-italic styles.
You may use "cfdemo/cdinfo.cfm" to determine if the Java font system is functional or not.
Java 1.4 or above contains built-in support for headless systems, so the Java font system can function even on headless systems. However, this feature may need to be enabled by a command line switch. See the following ColdFusion knowledge base article on how to enable headless support in ColdFusion MX.
Headless systems refer to systems that do not have GUI, such as some Linux/UNIX servers.
On Microsoft Windows and Mac OS X, Java uses the font subsystem provided by the OS. On Linux/UNIX, there is no font subsystem at the OS level. Many Java VM will attempt to use X Window services to support fonts. If the system is headless and does not has X Window running, the Java font system may not function.
As a backup, ChartDirector also comes with its own internal font system. If the Java font system is not functional, ChartDirector will automatically use its internal font system. The internal font system only has 3 fonts - generic sans serif (Arial like font), generic serif (Times New Roman like font) and generic monospace (Courier like font). All of them have bold, italic and bold-italic styles.
You may use "cfdemo/cdinfo.cfm" to determine if the Java font system is functional or not.
Java 1.4 or above contains built-in support for headless systems, so the Java font system can function even on headless systems. However, this feature may need to be enabled by a command line switch. See the following ColdFusion knowledge base article on how to enable headless support in ColdFusion MX.