Fontconfig/Xft


Table of Contents

cmd:fc-list 
examples 
Adding Xft Fonts 
Adding System-Wide Xft Fonts 
Configuring Fonts as a User 
Test newly isntalled fonts 
Find Font matches 

cmd:fc-list 

examples 

fc-list : family | LANG=C sort -f -u
fc-list : file | LANG=C sort -f -u
fc-list : file family | grep -i Comic
fc-list

— Lists all font faces.

fc-list :lang=hi

— Lists font faces that cover Hindi.

fc-list : family style file spacing

— Lists the filename and spacing value for each font face. ":" is an empty pattern that matches all fonts.

[Tip]

!!

$ fc-list : foundry | sort -u
 :foundry=Adobe
 :foundry=Arabic
 :foundry=B&H
 :foundry=Bitstream
 :foundry=DEC
 :foundry=MUTT
 :foundry=Misc
 :foundry=Schumacher
 :foundry=Sony
 :foundry=arphic
 :foundry=microsoft
 :foundry=monotype
 :foundry=unknown
 :foundry=urw
 :foundry=xfree86

$ fc-list : file | sed 's|/[^/]*:||' | sort -u
/usr/X11R6/lib/X11/fonts/100dpi
/usr/X11R6/lib/X11/fonts/75dpi
/usr/X11R6/lib/X11/fonts/Type1
/usr/X11R6/lib/X11/fonts/misc
/usr/share/fonts/X11/misc
/usr/share/fonts/truetype
/usr/share/fonts/truetype/arphic
/usr/share/fonts/truetype/msttcorefonts
/usr/share/fonts/truetype/ttf-bitstream-vera
/usr/share/fonts/truetype/ttf-dejavu
/usr/share/fonts/type1/gsfonts
/var/lib/defoma/fontconfig.d/A
/var/lib/defoma/fontconfig.d/B
/var/lib/defoma/fontconfig.d/C
/var/lib/defoma/fontconfig.d/D
/var/lib/defoma/fontconfig.d/G
/var/lib/defoma/fontconfig.d/N
/var/lib/defoma/fontconfig.d/S
/var/lib/defoma/fontconfig.d/U
/var/lib/defoma/fontconfig.d/Z