Asian Application Developer's Guide

Starting Windows with a Specific Korean Font Set

A command line that starts an Asian OpenWindows tool can also specify its font. There are several ways you can specify which font set an Asian OpenWindows application uses. When starting an application tool, Asian OpenWindows checks font specifiers in command line arguments (e.g., -Wt myeongjo14, or -font myeongjo14, or -fn myeongjo14). If the font is not specified in the command line, but the shell variable LANG or LC_CTYPE is set to ko, then Asian OpenWindows uses the kodig14 font specification.

The following is an example of a command line argument used to start a new Korean Solaris command tool with a specified font:


system% cmdtool -Wt myeongjo14 

The window display and UNIX processes might behave in a confusing manner if the font setting and locale are mismatched. However, when the current locale is U.S. (C, ASCII), the command uses a long XLED font name and cannot use a font set alias. Short and long font names are explained in the following section.


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