Asian Application Developer's Guide

Using a Traditional Chinese Font on the Command Line

A command line that starts an Asian OpenWindows tool can also specify its font.

When the current locale is zh_TW, the command should refer to a font-set name (explained in the following section), for example:


system% cmdtool -font sung24 

The flags -font, -Wt, and -fn all work the same in this kind of command. However, when the current locale is C (ASCII), the font name should refer only to the long XLFD name:


system% cmdtool -font -misc-fixed-medium-r-normal--9-80-100-100-c-
60-iso8859-1