DECwindows Motif provides the following Korean DECwindows fonts in various sizes and typefaces for 75 dpi (dot-per-inch) display devices:
Typeface | Glyth Size | Bounding Box | Remarks |
---|---|---|---|
Screen | 15 x 16 | 16 x 18 | Mandatory font |
22 x 22 | 24 x 24 | Mandatory font | |
Myungcho | 15 x 16 | 16 x 16 | Optional font |
22 x 22 | 24 x 24 | Optional font | |
30 x 30 | 32 x 32 | Optional font | |
Gotic | 15 x 16 | 16 x 16 | Optional font |
22 x 22 | 24 x 24 | Optional font |
In addition to these Korean fonts, several miscellaneous fonts are also provided for use in Hangul DECterm and toolkit.
No 100 dpi Korean fonts are provided in the kit. To allow you to use the Korean fonts on 100 dpi display devices, a font alias file is provided to map the 75 dpi font names to the respective 100 dpi font names.
You have to specify the DECwindows font names in X Logical Font Description (XLFD) format in your application programs or in the application resource files. You can specify wildcards (*) for any fields in the font names.
You can use the following font names for both 75 dpi or 100 dpi display devices. If you want to state explicitly the display resolution, you can specify "75" and "100" in the X- and Y-resolution fields, i.e. the second and third asterisks in the following XLFD names:
-ADECW-Screen-Medium-R-Normal--*-180-*-*-M-160-KSC5601.1987-1
-ADECW-Screen-Medium-R-Normal--*-240-*-*-M-240-KSC5601.1987-1
-ADECW-Myungcho-Medium-R-Normal--*-160-*-*-M-160-KSC5601.1987-1
-ADECW-Myungcho-Medium-R-Normal--*-240-*-*-M-240-KSC5601.1987-1
-ADECW-Myungcho-Medium-R-Normal--*-320-*-*-M-320-KSC5601.1987-1
-ADECW-Gotic-Medium-R-Normal--*-160-*-*-M-160-KSC5601.1987-1
-ADECW-Gotic-Medium-R-Normal--*-240-*-*-M-240-KSC5601.1987-1
The following table shows the XLFD font names and associated character sets for miscellaneous Korean screen fonts.
XLFD Font Name | Character Set |
---|---|
-ADECW-Screen-Medium-R-Normal--*-180-*-*-M-80-ISO8859-1 | ISO Latin-1 |
-ADECW-Screen-Medium-R-Normal--*-180-*-*-M-80-DEC-DECctrl | DEC Display Control |
-ADECW-Screen-Medium-R-Normal--*-180-*-*-M-80-DEC-DECsuppl | DEC Supplemental |
-ADECW-Screen-Medium-R-Normal--*-180-*-*-M-80-DEC-DECtech | DEC Technical |
-ADECW-Screen-Medium-R-Normal--*-180-*-*-M-80-KS-Roman | KS Roman |
-ADECW-Screen-Medium-R-Normal--*-240-*-*-M-120-ISO8859-1 | ISO Latin-1 |
-ADECW-Screen-Medium-R-Normal--*-240-*-*-M-120-DEC-DECctrl | DEC Display Control |
-ADECW-Screen-Medium-R-Normal--*-240-*-*-M-120-DEC-DECsuppl | DEC Supplemental |
-ADECW-Screen-Medium-R-Normal--*-240-*-*-M-120-DEC-DECtech | DEC Technical |
-ADECW-Screen-Medium-R-Normal--*-240-*-*-M-120-KS-Roman | KS Roman |
Figures 4-1 and 4-2 illustrate samples of the two families of Korean fonts.
Figure 4-1. Myungcho font sample
Figure 4-2. Gotic font sample
The X Window System defines two encodings for the KS C 5601 character set:
Encoding | Character Set Registry |
---|---|
GL | KSC5601.1987-0 |
GR | KSC5601.1987-1 |
Second Byte | |||||
00 | 20 | 80 | A0 | FF | |
First Byte |
20 | ||||
80 | KSC5601.1987-0 | ||||
A0 | |||||
FF | KSC5601.1987-1 |
Different vendors may adopt different encoding schemes to produce their fonts. The Korean DECwindows fonts supplied by DECwindows Motif are in GR encoding.
To allow you to run applications on third-party workstations on which only GL encoded fonts are installed, the DECwindows Motif implementation of the X Window System Release 6 (X11R6) Xlib supports the conversion of GR encoding to GL encoding for text drawing and measurement.
From | To |
---|---|
ksc5601.1987-1 | ksc5601.1987-0 |
For details, see DECwindows Motif Internationalization Guide.
The following is the default font list used in Motif Toolkit:
XLFD Font Name | Character Set |
---|---|
-ADECW-Screen-MEDIUM-R-Normal--*-180-*-*-M-80-ISO8859-1 | ISO8859-1 |
-ADECW-Screen-MEDIUM-R-Normal--*-180-*-*-M-160-KSC5601.1987-1 | KSC5601.1987-1 |
-ADECW-Screen-Medium-R-Normal--*-180-*-*-*-*-* | Fontset |
To override the default font list of a Korean DECwindows application, you should specify both the ISO Latin-1 and Korean fonts as well as the Korean fontset when creating widget instances. For details, see DECwindows Motif Internationalization Guide.