[Fontconfig] Font viewer for Xft fonts?

James Cloos cloos at jhcloos.com
Sun Aug 6 08:14:03 PDT 2006


>>>>> "Jos" == Jos Vos <jos at xos.nl> writes:

Jos> I'm looking for a viewer showing all available characters
Jos> in an Xft font.  Does there exist something?

xfd(1x)

Some examples:

xfd -fa 'DejaVu Serif-9'
xfd -fa 'DejaVu Serif-9:autohint=true'

Also, you can do something like:

fc-match -v Serif|awk '/file:/ {print $NF}'|awk -F\" '{print $2}'|xargs ftview 12

to find the matching font and pass it to ftview for viewing.

(ftview is part of ft2demos -- the freetype2 demo package;
xfd is one of the core apps from X11)

-JimC
-- 
James Cloos <cloos at jhcloos.com>


More information about the Fontconfig mailing list