Prev | Current Page 239 | Next

Chris Tyler

"X Power Tools"


For a complete list of font properties that can be used in font names, see the documentation
on the Fontconfig web site at http://fontconfig.org. Note that many of the
properties mentioned in the documentation are not used; on most systems, style is
the only property specified for most of the fonts.
Recent versions of xterm have support for client-side font rendering and can be used
to test a Fontconfig font name. The command-line option to use is -fa (it stands for
font face):
$ xterm -fa utopia:style=italic
$ xterm -fa Helvetica,Arial,Swiss-18
Table 11-1. Fontconfig font names
Font name Meaning
Courier-12 Courier face, 12-point size
Utopia:style=italic Utopia face in Italics
Helvetica,Arial,Swiss-12 Helvetica, Arial, or Swiss face (preferred in that order); 12 point size
Fixed-12,16,10 Fixed face in 12-, 16-, or 10-point size (preferred in that order)
11.6
156 Chapter 11: Pango, Xft, Fontconfig, and Render: Fonts the New Way
If the selected font does not use character-cell spacing, xterm will add considerable
spacing between characters.
11.6 Fontconfig Utilities
Since Fontconfig is a library, users don??™t directly interact with it. However, there are
two helpful little utilities provided with the library: fc-list and fc-cache.


Pages:
227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251