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


5.    Fonts

5.1    DECwindows Fonts

The Tru64 UNIX operating system software provides the Thai DECwindows fonts described in Table 5-1 in various sizes for 75 dpi (dot-per-inch) display devices.

Table 5-1: Thai Screen Fonts

Typefaces

Bounding Box

Remarks

Screen

7 x 14

Mandatory font

 

8 x 18

Mandatory font

 

12 x 24

Mandatory font

These mandatory fonts are available when you install the Thai variant. In addition to these Thai fonts, several miscellaneous screen fonts are provided in the Thai DECterm and toolkit.

No 100 dpi Thai fonts are provided in the kit. To allow you to use the Thai 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 asterisks in the following XLFD names.

Screen family font names in XLFD format:

-ADECW-Screen-Medium-R-Normal--18-180-*-*-P-80-TIS620.2533-1
-ADECW-Screen-Medium-R-Normal--14-140-*-*-P-70-TIS620.2533-1
-ADECW-Screen-Medium-R-Normal--24-240-*-*-P-120-TIS620.2533-1

XLFD of miscellaneous Thai screen fonts:

XLFD-Font Name

Character Set

-ADECW-Screen-Medium-R-Normal--18-180-*-*-M-80-iso8859-1

ISO Latin-1

-ADECW-Screen-Medium-R-Normal--18-180-*-*-M-80-DEC-DECctrl

DEC Display Control

-ADECW-Screen-Medium-R-Normal--18-180-*-*-M-80-DEC-DECsuppl

DEC Supplemental

-ADECW-Screen-Medium-R-Normal--18-180-*-*-M-80-DEC-DECtech

DEC Technical

-ADECW-Screen-Medium-R-Normal--24-240-*-*-M-120-iso8859-1

ISO Latin-1

-ADECW-Screen-Medium-R-Normal--24-240-*-*-M-120-DEC-DECctrl

DEC Display Control

-ADECW-Screen-Medium-R-Normal--24-240-*-*-M-120-DEC-DECsuppl

DEC Supplemental

-ADECW-Screen-Medium-R-Normal--24-240-*-*-M-120-DEC-DECtech

DEC Technical


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


5.1.2    Bitmap Font Samples

Figure 5-1 shows samples of the screen family of Thai fonts.

Figure 5-1: Screen Font Sample


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


5.1.3    Specifying Fonts in DECwindows Applications

Table 5-2 shows the default font list used in the Motif Toolkit.

Table 5-2: Thai Default Font List

XLFD Font Name

Character Set

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

ISO8859-1

-ADECW-Screen-Medium-R-Normal--*-180-*-*-P-80-TIS620.2533-1

TIS620.2533-1

-ADECW-Screen-Medium-R-Normal--*-180-*-*-*-*-*

Fontset

To override the default font list of a Thai DECwindows application, you should specify the ISO Latin-1 and Thai fonts as well as the Thai fontset when creating widget instances. For details, see Writing Software for the International Market.


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


5.1.4    Outline Fonts

The Tru64 UNIX operating system software provides the Thai outline fonts shown in Table 5-3.

Table 5-3: Thai Outline Fonts

Font Family

Font Name

AngsanaUPC Family

AngsanaUPC-Light
AngsanaUPC-Italic
AngasanaUPC-Bold
AngsanaUPC-BoldItalic

CordiaUPC Family

CordiaUPC-Light
CordiaUPC-Italic
CordiaUPC-Bold
CordiaUPC-BoldItalic

EucrosiaUPC Family

EucrosiaUPC-Light
EucrosiaUPC-Italic
EucrosiaUPC-Bold
EucrosiaUPC-BoldItalic

FreesiaUPC Family

FreesiaUPC-Light
FreesiaUPC-Italic
FreesiaUPC-Bold
FreesiaUPC-BoldItalic

IrisUPC Family

IrisUPC-Light
IrisUPC-Italic
IrisUPC-Bold
IrisUPC-BoldItalic

JasmineUPC Family

JasmineUPC-Light
JasmineUPC-Italic
JasmineUPC-Bold
JasmineUPC-BoldItalic

KodchiangUPC Family

KodchiangUPC-Light
KodchiangUPC-Italic
KodchiangUPC-Bold
KodchiangUPC-BoldItalic

LilyUPC Family

LilyUPC-Light
LilyUPC-Italic
LilyUPC-Bold
LilyUPC-BoldItalic

WaterlilyUPC Family

WaterlilyUPC-Light
WaterlilyUPC-Italic
WaterlilyUPC-Bold
WaterlilyUPC-BoldItalic

YuccaUPC Family

YuccaUPC-Light
YuccaUPC-Italic
YuccaUPC-Bold
YuccaUPC-BoldItalic

These Thai outline fonts can be used for:


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


5.2    XLFD Font Names of Thai Outline Fonts

To use the Thai outline fonts through the Type 1 rasterizer, you can specify the font names in XLFD format in your application programs or in the application resource files, just as you do with ordinary DECwindows bitmap fonts.

To specify the XLFD font name of an outline font, you can replace the fields currently marked with 0 (zero) with the following information:

  1. Field 1 - The font height in number of dots. Usually, an asterisk is entered in this field.
  2. Field 2 - The font height in point size. For example, you can enter 240 to specify a 24 point font.
  3. Fields 3 and 4 - The X- and Y-resolution. Usually, they have the value of 75 or 100.
  4. Field 5 - The average font width in point size. Usually, an asterisk is put in this field.

For example, if you want to use a 48 point font of the AngsanaUPC family in bold-italic style for a 100 dpi display device, you would specify:

-upc-angsana-bold-i-normal--*-480-100-100-p-*-tis620.2533-1

Table 5-4: XLFD of Thai Outline Fonts

Outline Font

XLFD Font Name

AngsanaUPC-Bold

-upc-angsana-bold-r-normal--0-0-0-0-p-0-tis620.2533-1

AngsanaUPC-BoldItalic

-upc-angsana-bold-i-normal--0-0-0-0-p-0-tis620.2533-1

AngsanaUPC-Italic

-upc-angsana-medium-i-normal--0-0-0-0-p-0-tis620.2533-1

AngsanaUPC-Light

-upc-angsana-medium-r-normal--0-0-0-0-p-0-tis620.2533-1

CordiaUPC-Bold

-upc-cordia-bold-r-normal--0-0-0-0-p-0-tis620.2533-1

CordiaUPC-BoldItalic

-upc-cordia-bold-i-normal--0-0-0-0-p-0-tis620.2533-1

CordiaUPC-Italic

-upc-cordia-medium-i-normal--0-0-0-0-p-0-tis620.2533-1

CordiaUPC-Light

-upc-cordia-medium-r-normal--0-0-0-0-p-0-tis620.2533-1

EucrosiaUPC-Bold

-upc-eucrosia-bold-r-normal--0-0-0-0-p-0-tis620.2533-1

EucrosiaUPC-BoldItalic

-upc-eucrosia-bold-i-normal--0-0-0-0-p-0-tis620.2533-1

EucrosiaUPC-Italic

-upc-eucrosia-medium-i-normal--0-0-0-0-p-0-tis620.2533-1

EucrosiaUPC-Light

-upc-eucrosia-medium-r-normal--0-0-0-0-p-0-tis620.2533-1

FreesiaUPC-Bold

-upc-freesia-bold-r-normal--0-0-0-0-p-0-tis620.2533-1

FreesiaUPC-BoldItalic

-upc-freesia-bold-i-normal--0-0-0-0-p-0-tis620.2533-1

FreesiaUPC-Italic

-upc-freesia-medium-i-normal--0-0-0-0-p-0-tis620.2533-1

FreesiaUPC-Light

-upc-freesia-medium-r-normal--0-0-0-0-p-0-tis620.2533-1

IrisUPC-Bold

-upc-iris-bold-r-normal--0-0-0-0-p-0-tis620.2533-1

IrisUPC-BoldItalic

-upc-iris-bold-i-normal--0-0-0-0-p-0-tis620.2533-1

IrisUPC-Italic

-upc-iris-medium-i-normal--0-0-0-0-p-0-tis620.2533-1

IrisUPC-Light

-upc-iris-medium-r-normal--0-0-0-0-p-0-tis620.2533-1

JasmineUPC-Bold

-upc-jasmine-bold-r-normal--0-0-0-0-p-0-tis620.2533-1

JasmineUPC-BoldItalic

-upc-jasmine-bold-i-normal--0-0-0-0-p-0-tis620.2533-1

JasmineUPC-Italic

-upc-jasmine-medium-i-normal--0-0-0-0-p-0-tis620.2533-1

JasmineUPC-Light

-upc-jasmine-medium-r-normal--0-0-0-0-p-0-tis620.2533-1

KodchiangUPC-Bold

-upc-kodchiang-bold-r-normal--0-0-0-0-p-0-tis620.2533-1

KodchiangUPC-BoldItalic

-upc-kodchiang-bold-i-normal--0-0-0-0-p-0-tis620.2533-1

KodchiangUPC-Italic

-upc-kodchiang-medium-i-normal--0-0-0-0-p-0-tis620.2533-1

KodchiangUPC-Light

-upc-kodchiang-medium-r-normal--0-0-0-0-p-0-tis620.2533-1

LilyUPC-Bold

-upc-lily-bold-r-normal--0-0-0-0-p-0-tis620.2533-1

LilyUPC-BoldItalic

-upc-lily-bold-i-normal--0-0-0-0-p-0-tis620.2533-1

LilyUPC-Italic

-upc-lily-medium-i-normal--0-0-0-0-p-0-tis620.2533-1

LilyUPC-Light

-upc-lily-medium-r-normal--0-0-0-0-p-0-tis620.2533-1

WaterlilyUPC-Bold

-upc-waterlily-bold-r-normal--0-0-0-0-p-0-tis620.2533-1

WaterlilyUPC-BoldItalic

-upc-waterlily-bold-i-normal--0-0-0-0-p-0-tis620.2533-1

WaterlilyUPC-Italic

-upc-waterlily-medium-i-normal--0-0-0-0-p-0-tis620.2533-1

WaterlilyUPC-Light

-upc-waterlily-medium-r-normal--0-0-0-0-p-0-tis620.2533-1

YuccaUPC-Bold

-upc-yucca-bold-r-normal--0-0-0-0-p-0-tis620.2533-1

YuccaUPC-BoldItalic

-upc-yucca-bold-i-normal--0-0-0-0-p-0-tis620.2533-1

YuccaUPC-Italic

-upc-yucca-medium-i-normal--0-0-0-0-p-0-tis620.2533-1

YuccaUPC-Light

-upc-yucca-medium-r-normal--0-0-0-0-p-0-tis620.2533-1


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


5.3    Outline Font Samples

Figures 5-2 through 5-11 illustrate samples of Thai outline fonts.

Figure 5-2: AngsanaUPC Font Sample

Figure 5-3: CordiaUPC Font Sample

Figure 5-4: EucrosiaUPC Font Sample

Figure 5-5: FreesiaUPC Font Sample

Figure 5-6: IrisUPC Font Sample

Figure 5-7: JasmineUPC Font Sample

Figure 5-8: KodchiangUPC Font Sample

Figure 5-9: LilyUPC Font Sample

Figure 5-10: Waterlily UPC Font Sample

Figure 5-11: YuccaUPC Font Sample


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