The localized language functions of Korean Solaris applications use font sets, or groips of fonts including both ASCII character fonts and non-ASCII Korean character fonts. These combinations of fonts are required for Korean display. They can be used, as font names are, in customizing your workspace as described in Solaris User's Guide.
A Korean (ko) font list is composed of one English font representing ASCII characters in KS C 5636 or ISO8859-1, and one Korean font represeting characters in KS C 5601-1987-0.
The KS C 5636 and ISO8859-1 character sets are nearly identical. The diferences are that KS C 5636 uses only the code values from 0 to 127, and the backslash character (whose ISO8859-1 code value is 92) is replaced by the Korean currency symbol.
Korean Solaris provides some default font lists defined in the application defaults files in /usr/dt/app-defaults/ko/*. The following is an excerpt from one of the files, Dtwm:
Dtwm*icon*fontList: \ -dt-interface-system-medium-r-normal-s*ksc*: |
This portion of the file refers to a font list that contains two fonts, which are defined in /usr/openwin/lib/locale/ko/X11/fonts/75dpi/fonts.alias.
A Korean (ko.UTF-8) font list is composed of one English font representing ASCII characters in KS C 5636 or ISO8859-1, and one Korean Johap font represeting codeset 1characters in KS C 5601-1992-3.
Korean Solaris provides some default font lists defined in the application defaults files in /usr/dt/app-defaults/ko.UTF-8/*. The following is an excerpt from one of the files, Dtwm:
Dtwm*icon*fontList: \ -dt-interface-system-medium-r-normal-s*ksc*: |
This portion of the file refers to a font list that contains two fonts, which are defined in /usr/openwin/lib/locale/ko.UTF-8/X11/fonts/75dpi/fonts.alias.
When you start an Asian Solaris tool at the command line, you can also specify its fonts. Below is an example of a command line argument used to start a new Korean terminal with a specified font list:
system% dtterm -fn \ -dt-interface system-medium-r-normal-s sans-14-120-75-75-p-60-ksc5636-0;\ -dt-interface system-medium-r-normal-s sans-14-120-75-75-p-120-ksc5601.1987-0: |
Note the two delimiters used in the font list. The ; delimiter is used to separate the font names except for the last font name, which ends with the : delimiter. (In the example above, ; follows the Korean font name.) Since there are spaces in long font names, the font list is enclosed in quotation marks.
A command line that starts a Korean OpenWindows application can specify the application's font. When the current locale is Korean, the command uses one of the defined font-set aliases instead (explained in the following section), for example:
system% cmdtool -font fontset_name & |
But when the current locale is C the command uses a font name and cannot use a font-set alias. The following shows a command using the long name of an ASCII character font:
system% cmdtool \ -font -misc-fixed-medium-r-normal--9-80-100-100-c-60-iso8859-1 & |
Korean Solaris software provides several font sets that combine two or more fonts so both English and Korean characters can be used together in one window. Some font sets comprise an English font plus a Korean font, both specified in KS C 5601. For easy use several of these font sets have simple names as follows:
kodig12
kodig14
kodig16
myeongjo14
myeongjo20
myeongjo24
Each of these font sets is made up of two font files. The $OPENWINHOME/lib/locale/ko/OW_FONT_SETS/OpenWindows.fs file defines the full Korean Solaris font set.
In addition, the Korean Solaris operating environment provides scalable and bitmap fonts in the following typefaces:
Kodig
Myeongjo
Round Gothic
Pilki
Haeso
Graphic
Kodig and Myeongjo contain Korean characters in accordance with the KS C 5601 and KS C 5700 standards. These fonts are located in the /usr/openwin/lib/locale/ko/X11/fonts and /usr/openwin/lib/locale/ko.UTF-8/X11/font directories.
Korean bitmap fonts are located in the /usr/openwin/lib/locale/ko/X11/fonts/75dpi and /usr/openwin/lib/locale/ko.UTF-8/X11/font/75dpi directories.
The $OPENWINHOME/lib/locale/ko/OW_FONT_SETS/OpenWindows.fs file also sets the following font size definitions for use in command lines:
small=12 points
medium=14 points (default size)
large=16 points
extra_large=20 points
For example, the following command line starts up a Command Tool window that uses 16-point type and is scaled proportionally larger than the default:
system% cmdtool -scale large & |