Prev | Current Page 240 | Next

Chris Tyler

"X Power Tools"


fc-list lists the fonts available through Fontconfig. Executed without any arguments,
it lists all of the fonts to standard output:
$ fc-list
KacstTitle:style=KacstTitle
KacstTitleL:style=KacstTitleL
KacstArt:style=KacstArt
...(Lines snipped)...
Frank Ruehl CLM:style=Bold Oblique
URW Bookman L:style=Demi Bold Italic
Yehuda CLM:style=Light
fxd:style=Bold Italic
Sorting the lines will group them by face:
$ fc-list|sort
Aharoni CLM:style=Bold
Aharoni CLM:style=Bold Oblique
Aharoni CLM:style=Book
Aharoni CLM:style=Book Oblique
...(Lines snipped)...
Yehuda CLM:style=Bold
Yehuda CLM:style=Light
When a font name is provided as an argument, only matching fonts are displayed:
$ fc-list utopia
Utopia:style=Bold Italic
Utopia:style=Bold
Utopia:style=Italic
Utopia:style=Regular
The other utility provided is fc-cache, which generates (or updates) cache files in
each font directory. These files are named fonts.cache and speed the startup of applications
that use Fontconfig. Run this command as root to generate font cache files
for system fonts, or as a user to generate them for the fonts in ~/.fonts:
# fc-cache
$ fc-cache
11.8
11.8 Installing the Microsoft Fonts 157
11.7 Installing the Microsoft Fonts
Web pages and documents created on Microsoft systems often use fonts that are distributed
with Windows.


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