The en_US.UTF-8 locale in the Solaris 8 environment supports fonts for the following character sets.
ISO 8859-1
ISO 8859-2
ISO 8859-4
ISO 8859-5
ISO 8859-7
ISO 8859-9
ISO 8859-15
BIG5
GB 2312-1980
JIS X0201.1976
JIS X0208.1983
KS C 5601.1992 Annex 3
ISO 8859-6 and Unicode based one
ISO 8859-8
TIS 620.2533 based one
Because the Solaris 8 environment supports the CDE desktop environment, each character set has a guaranteed sets of fonts.
The following is a list of the Latin-1 fonts that are supported in the Solaris 8 product:
For information on CDE common font aliases, including -dt-interface user-* and -dt-application-* aliases, see Common Desktop Environment: Internationalization Programmer's Guide.
In the en_US.UTF-8 locale, utf is also supported as a common font alias. A font set for an application should have a collection of fonts that contains each of the character sets, as in the following example:
fs = XCreateFontSet(display, "-dt-interface system-medium-r-normal-s*utf*-*-*-*-*-*-*-iso8859-1, -dt-interface system-medium-r-normal-s*utf*-*-*-*-*-*-*-iso8859-2, -dt-interface system-medium-r-normal-s*utf*-*-*-*-*-*-*-iso8859-4, -dt-interface system-medium-r-normal-s*utf*-*-*-*-*-*-*-iso8859-5, -dt-interface system-medium-r-normal-s*utf*-*-*-*-*-*-*-iso8859-6, -dt-interface system-medium-r-normal-s*utf*-*-*-*-*-*-*-iso8859-7, -dt-interface system-medium-r-normal-s*utf*-*-*-*-*-*-*-iso8859-8, -dt-interface system-medium-r-normal-s*utf*-*-*-*-*-*-*-iso8859-9, -dt-interface system-medium-r-normal-s*utf*-*-*-*-*-*-*-iso8859-15, -dt-interface system-medium-r-normal-s*utf*-*-*-*-*-*-*-big5-1, -dt-interface system-medium-r-normal-s*utf*-*-*-*-*-*-*-jisx0208.1983-0, -dt-interface system-medium-r-normal-s*utf*-*-*-*-*-*-*-jisx0201.1976-0, -dt-interface system-medium-r-normal-s*utf*-*-*-*-*-*-*-ksc5601.1992-3, -dt-interface system-medium-r-normal-s*utf*-*-*-*-*-*-*-gb2312.1980-0, -dt-interface system-medium-r-normal-s*utf*-*-*-*-*-*-*-tis620.2533-0, -dt-interface system-medium-r-normal-s*utf*-*-*-*-*-*-*-unicode-fontspecific", &missing_ptr, &missing_count, &def_string); |
Or, put more simply:
fs = XCreateFontSet(display, "-dt-interface system-medium-r-normal-*s*utf*", &missing_ptr, &missing_count, &def_string); |