Datasheet
“main” (Installation and Administration) — 2004/6/25 — 13:29 — page 288 — #314
i
i
i
i
i
i
i
i
<family>monospace</family>
<prefer>
<family>FreeMono</family>
</prefer>
</alias>
Because nearly all applications use these aliases by default, this affects al-
most the entire system. Thus, you can easily use your favorite fonts almost
everywhere without having to modify the font settings in the individual
applications.
Use the command fc-list to find out which fonts are installed and avail-
able for use. For instance, the command fc-list "" returns a list of all
fonts. To find out which of the available scalable fonts (:outline=true)
contain all glyphs required for Hebrew (:lang=he), their font names
(family), their style (style), their weight (weight), and the name of the
files containing the fonts, enter the following command:
fc-list ":lang=he:outline=true" family style weight file
The output of this command could appear as follows:
/usr/X11R6/lib/X11/fonts/truetype/FreeSansBold.ttf: FreeSans:style=Bold:weight=200
/usr/X11R6/lib/X11/fonts/truetype/FreeMonoBoldOblique.ttf: FreeMono:style=BoldOblique:weight=200
/usr/X11R6/lib/X11/fonts/truetype/FreeSerif.ttf: FreeSerif:style=Medium:weight=80
/usr/X11R6/lib/X11/fonts/truetype/FreeSerifBoldItalic.ttf: FreeSerif:style=BoldItalic:weight=200
/usr/X11R6/lib/X11/fonts/truetype/FreeSansOblique.ttf: FreeSans:style=Oblique:weight=80
/usr/X11R6/lib/X11/fonts/truetype/FreeSerifItalic.ttf: FreeSerif:style=Italic:weight=80
/usr/X11R6/lib/X11/fonts/truetype/FreeMonoOblique.ttf: FreeMono:style=Oblique:weight=80
/usr/X11R6/lib/X11/fonts/truetype/FreeMono.ttf: FreeMono:style=Medium:weight=80
/usr/X11R6/lib/X11/fonts/truetype/FreeSans.ttf: FreeSans:style=Medium:weight=80
/usr/X11R6/lib/X11/fonts/truetype/FreeSerifBold.ttf: FreeSerif:style=Bold:weight=200
/usr/X11R6/lib/X11/fonts/truetype/FreeSansBoldOblique.ttf: FreeSans:style=BoldOblique:weight=200
/usr/X11R6/lib/X11/fonts/truetype/FreeMonoBold.ttf: FreeMono:style=Bold:weight=200
Important parameters that can be queried with fc-list:
Table 12.2: Parameters of fc-list
Parameter Meaning and Possible Values
family Name of the font family, e.g., FreeSans.
foundry The manufacturer of the font, e.g., urw.
style The font style, e.g., Medium, Regular, Bold, Italic,
Heavy.
lang The language that the font supports, e.g., de for German,
ja for Japanese, zh-TW for traditional Chinese, zh-CN for
simplified Chinese.
288 12.2. Installing and Configuring Fonts










