[Contents] [Previous Chapter] [Next Section] [Next Chapter] [Index] [Help]


5     Fonts

5.1   DECwindows Fonts

The DIGITAL UNIX operating system softwawre provides the Japanese DECwindows fonts described in Table 5-1 in various sizes and typefaces for 75 dpi (dot-per-inch) and 100 dpi display devices.

Table 5-1: Japanese Screen Fonts

Typefaces

Character Set

Resolution

Size

Kmenu

ISO Latin-1
JIS X 0201

75, 100

12

Screen

DEC Suppl
DEC Tech
ISO Latin-1
JIS X 0201
JIS X 0208 GL
JIS X 0208 GR

75

10, 14, 18, 24

Mincho

ISO Latin-1
JIS X 0201
JIS X 0208 GR

75, 100

8, 10, 12, 14, 18, 24

Gothic

ISO Latin-1
JIS X 0201
JIS X 0208 GR

75, 100

8, 10, 12, 14, 18, 24

No 100 dpi Screen family fonts are provided in the kit. To allow you to use the Screen family 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.


[Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


5.1.1   XLFD Font Names

You must specify the DECwindows font names in XLFD (X Logical Font Description) 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 either 75 dpi or 100 dpi display devices. To explicitly state the display resolution, you can specify 75 or 100 in the X- and Y-resolution fields, that is, the second and third asterisks in the following XLFD names:

ISO Latin-1 Font

-JDECW-Kmenu-Medium-R-Normal--*-120-*-*-P-70-iso8859-1

JIS X 0201 Font

-JDECW-Kmenu-Medium-R-Normal--*-120-*-*-P-70-jisX0201.1976-0

JIS X 0201 Fonts

-JDECW-Screen-Medium-R-Normal--*-100-*-*-M-50-jisx0201-RomanKana
-JDECW-Screen-Medium-R-Normal--*-140-*-*-M-70-jisx0201-RomanKana
-JDECW-Screen-Medium-R-Normal--*-180-*-*-M-80-jisx0201-RomanKana
-JDECW-Screen-Medium-R-Normal--*-240-*-*-M-120-jisx0201-RomanKana

JIS X 0208 GL (Kanji00) Fonts

-JDECW-Screen-Medium-R-Normal--*-100-*-*-M-100-jisx0208-Kanji00
-JDECW-Screen-Medium-R-Normal--*-140-*-*-M-140-jisx0208-Kanji00
-JDECW-Screen-Medium-R-Normal--*-180-*-*-M-160-jisx0208-Kanji00
-JDECW-Screen-Medium-R-Normal--*-240-*-*-M-240-jisx0208-Kanji00

JIS X2080 GR (Kanji11) Fonts

-JDECW-Screen-Medium-R-Normal--*-100-*-*-M-100-jisx0208-Kanji11
-JDECW-Screen-Medium-R-Normal--*-140-*-*-M-140-jisx0208-Kanji11
-JDECW-Screen-Medium-R-Normal--*-180-*-*-M-160-jisx0208-Kanji11
-JDECW-Screen-Medium-R-Normal--*-240-*-*-M-240-jisx0208-Kanji11

ISO Latin-1 Fonts

-JDECW-Mincho-Medium-R-Normal--*80-*-*-M-40-iso8859-1
-JDECW-Mincho-Medium-R-Normal--*100-*-*-M-50-iso8859-1
-JDECW-Mincho-Medium-R-Normal--*120-*-*-M-60-iso8859-1
-JDECW-Mincho-Medium-R-Normal--*140-*-*-M-70-iso8859-1
-JDECW-Mincho-Medium-R-Normal--*180-*-*-M-90-iso8859-1
-JDECW-Mincho-Medium-R-Normal--*240-*-*-M-120-iso8859-1

JIS X 0201 Fonts

-JDECW-Mincho-Medium-R-Normal--*80-*-*-M-40-jisx0201.1976-0
-JDECW-Mincho-Medium-R-Normal--*100-*-*-M-50-jisx0201.1976-0
-JDECW-Mincho-Medium-R-Normal--*120-*-*-M-60-jisx0201.1976-0
-JDECW-Mincho-Medium-R-Normal--*140-*-*-M-70-jisx0201.1976-0
-JDECW-Mincho-Medium-R-Normal--*180-*-*-M-90-jisx0201.1976-0
-JDECW-Mincho-Medium-R-Normal--*240-*-*-M-120-jisx0201.1976-0

JIS X 0208 GR Fonts

-JDECW-Mincho-Medium-R-Normal--*80-*-*-M-80-jisx0208.1983-1
-JDECW-Mincho-Medium-R-Normal--*100-*-*-M-100-jisx0208.1983-1
-JDECW-Mincho-Medium-R-Normal--*120-*-*-M-120-jisx0208.1983-1
-JDECW-Mincho-Medium-R-Normal--*140-*-*-M-140-jisx0208.1983-1
-JDECW-Mincho-Medium-R-Normal--*180-*-*-M-180-jisx0208.1983-1
-JDECW-Mincho-Medium-R-Normal--*240-*-*-M-240-jisx0208.1983-1

ISO Latin-1 Fonts

-JDECW-Gothic-Medium-R-Normal--*-80-*-*-M-40-iso8859-1
-JDECW-Gothic-Medium-R-Normal--*-100-*-*-M-50-iso8859-1
-JDECW-Gothic-Medium-R-Normal--*-120-*-*-M-60-iso8859-1
-JDECW-Gothic-Medium-R-Normal--*-140-*-*-M-70-iso8859-1
-JDECW-Gothic-Medium-R-Normal--*-180-*-*-M-90-iso8859-1
-JDECW-Gothic-Medium-R-Normal--*-240-*-*-M-120-iso8859-1

JIS X 0201 Fonts

-JDECW-Gothic-Medium-R-Normal--*-80-*-*-M-40-jisx0201.1976-0
-JDECW-Gothic-Medium-R-Normal--*-100-*-*-M-50-jisx0201.1976-0
-JDECW-Gothic-Medium-R-Normal--*-120-*-*-M-60-jisx0201.1976-0
-JDECW-Gothic-Medium-R-Normal--*-140-*-*-M-70-jisx0201.1976-0
-JDECW-Gothic-Medium-R-Normal--*-180-*-*-M-90-jisx0201.1976-0
-JDECW-Gothic-Medium-R-Normal--*-240-*-*-M-120-jisx0201.1976-0

JIS X 0208 GR Fonts

-JDECW-Gothic-Medium-R-Normal--*-80-*-*-M-80-jisx0208.1983-1
-JDECW-Gothic-Medium-R-Normal--*-100-*-*-M-100-jisx0208.1983-1
-JDECW-Gothic-Medium-R-Normal--*-120-*-*-M-120-jisx0208.1983-1
-JDECW-Gothic-Medium-R-Normal--*-140-*-*-M-140-jisx0208.1983-1
-JDECW-Gothic-Medium-R-Normal--*-180-*-*-M-180-jisx0208.1983-1
-JDECW-Gothic-Medium-R-Normal--*-240-*-*-M-240-jisx0208.1983-1

XLFD Font Name

Character Set

-JDECW-Screen-Medium-R-Normal--*-140-*-*-M-70-iso8859-1

ISO Latin-1

-JDECW-Screen-Medium-R-Normal--*-140-*-*-M-70-DEC-DECsuppl

DEC Supplemental

-JDECW-Screen-Medium-R-Normal--*-140-*-*-M-70-DEC-DECtech

DEC Technical

-JDECW-Screen-Medium-R-Normal--*-140-*-*-M-70-DEC-DRCS

DEC DRCS

-JDECW-Screen-Medium-R-Normal--*-180-*-*-M-80-iso8859-1

ISO Latin-1

-JDECW-Screen-Medium-R-Normal--*-180-*-*-M-80-DEC-DECsuppl

DEC Supplemental

-JDECW-Screen-Medium-R-Normal--*-180-*-*-M-80-DEC-DECtech

DEC Technical

-JDECW-Screen-Medium-R-Normal--*-180-*-*-M-80-DEC-DRCS

DEC DRCS

-JDECW-Screen-Medium-R-Normal--*-240-*-*-M-120-iso8859-1

ISO Latin-1

-JDECW-Screen-Medium-R-Normal--*-240-*-*-M-120-DEC-DECsuppl

DEC Supplemental

-JDECW-Screen-Medium-R-Normal--*-240-*-*-M-120-DEC-DECtech

DEC Technical

-JDECW-Screen-Medium-R-Normal--*-240-*-*-M-120-DEC-DRCS

DEC DRCS


[Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


5.1.2   Bitmap Font Samples

Figure 5-1, Figure 5-2, Figure 5-3, and Figure 5-4 illustrate samples of the various families of Japanese fonts.

Figure 5-1: Kmenu Font Samples

Kmenu Font Samples

Figure 5-2: Screen Font Samples

Screen Font Samples

Figure 5-3: Mincho Font Samples

Mincho Font Samples

Figure 5-4: Gothic Font Samples

Gothic Font Samples


[Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


5.1.3   DECwindows Font Encoding

The X Corsortium's X Window System defines two encodings for the JIS X 0208-1983 character set, as shown in Table 5-2.

Table 5-2: Japanese DECwindows Font Encodings

Encoding

Character Set Registry

GL

jisx0208.1983-0

GR

jisx0208.1983-1

Figure 5-5 shows the difference between these two encoding schemes.

Figure 5-5: Japanese Font Encoding Schemes

Japanese Font Encoding Schemes

Different vendors may adopt different encoding schemes to produce their fonts. With the exception of the Kanji00 Screen family fonts, the Japanese fonts supplied by Compaq Computer Corporation are all in GR encoding.

To allow you to run applications on third-party workstations on which only GL encoded fonts are installed, the DIGITAL UNIX implementation of the X Window System, Release 6 (X11R6), supports the conversion of GR encoding to GL encoding for text drawing and measurement, as shown in Table 5-3.

Table 5-3: Font Encoding Conversion

From

To

jisx0208.1983-1

jisx0208.1983-0

For details, see Writing Software for the International Market.

For historical reasons, the Kanji Screen fonts are available in the kanji00 and kanji11 encodings. These encodings are equivalent to the X Consortium's font encodings, shown in Table 5-4.

Table 5-4: Equivalent Japanese Font Encodings

Screen Font Encoding

X Consortium's Font Encoding

kanji00

jisx0208.1983-0

kanji11

jisx0208.1983-1


[Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


5.1.4   Specifying Fonts in DECwindows Applications

The default font list used in the Motif Toolkit is shown in Table 5-5.

Table 5-5: Japanese Default Font List

XLFD Font Name

Character Set

-JDECW-Kmenu-Medium-R-Normal--*-120-*-*-P-*-iso8859-1

ISO8859-1

-JDECW-Gothic-Medium-R-Normal--*-120-*-*-M-*-jisx0201.1976-0

JISX0201.1976-0

-JDECW-Gothic-Medium-R-Normal--*-120-*-*-M-*-jisx0208.1983-1

JISX0208.1983-1

-JDECW-Screen-Medium-R-Normal--*-100-*-*-M-*-jisx.UDC-1

JISX.UDC-1

-JDECW-Gothic-Medium-R-Normal--*-120-*-*-M-*

Fontset

To override the default font list of a Japanese DECwindows application, you should specify the ISO Latin-1, JIS X 0201, JIS X 0208 and JIS (UDC) fonts as well as the Japanese fontset when creating widget instances. For details, please see Writing Software for the International Market.


[Contents] [Previous Chapter] [Previous Section] [Next Chapter] [Index] [Help]


5.2   Printer Fonts

The Japanese printer fonts for DIGITAL UNIX are resident in the printers, and not bundled with the DIGITAL UNIX operating system software. Please check the printer documentation for information about printer fonts.


[Contents] [Previous Chapter] [Previous Section] [Next Chapter] [Index] [Help]