Prev | Current Page 231 | Next

Chris Tyler

"X Power Tools"

For example, if
CHARSET_REGISTRY is iso9959 and
CHARSET_ENCODING is 15, then the
font is encoded with ISO 8859-15
(also called Latin-9??”used for Western
European languages, including
the Euro symbol).
1, 2, 15, cp1252
Table 10-1. XLFD font name fields (continued)
Field Name Description Example
10.5
148 Chapter 10: Core Fonts: Fonts the Old Way
-sun-open look glyph-----0-0-75-75-p-0-sunolglyph-1
...(lines snipped)...
-taipei-ming-medium-r-normal--20-200-75-75-c-200-big5-0
-taipei-ming-medium-r-normal--24-240-75-75-c-240-big5-0
-vga-fixed-medium-r-normal--24-230-75-75-c-120-iso8859-1
-xfree86-cursor-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
To select a font, create a name that has the desired values in each field; use an asterisk
for any field you don??™t care about. Some examples are shown in Table 10-2.
The easiest way to come up with a font name is to do it interactively using the
xfontsel command:
$ xfontsel
This will display a font selection window as shown in Figure 10-3. Each of the 14
XLFD fields is represented by a pull-down menu containing possible values. As you
select values, incompatible options in other fields are disabled. For example, if you
select bitstream for the foundry, any font families supplied by other foundries??”such
as Adobe??™s Helvetica and B&H??™s Luxi??”are disabled (grayed out) in the font family
menu.


Pages:
219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243