X fonts

Kurt Wall kwall
Mon May 17 11:53:55 PDT 2004


Quoth Collins Richey:
> I, too, am straying from the <ot> path.  
> 
> Is there a standard way to list all the fonts currently available to X, perhaps
> with selection only for standard ISO8859-1 encoding?

For CLI, xlsfonts:

$ xlsfonts -fn -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-1
-adobe-courier-bold-i-normal--0-0-0-0-m-0-iso8859-1
-adobe-courier-bold-i-normal--17-120-100-100-m-0-iso8859-1
-adobe-courier-bold-o-normal--0-0-75-75-m-0-iso8859-1
-adobe-courier-bold-o-normal--10-100-75-75-m-60-iso8859-1
-adobe-courier-bold-o-normal--12-120-75-75-m-70-iso8859-1
-adobe-courier-bold-o-normal--14-140-75-75-m-90-iso8859-1
-adobe-courier-bold-o-normal--17-120-100-100-m-0-iso8859-1
-adobe-courier-bold-o-normal--18-180-75-75-m-110-iso8859-1
-adobe-courier-bold-o-normal--24-240-75-75-m-150-iso8859-1
-adobe-courier-bold-o-normal--8-80-75-75-m-50-iso8859-1

For GUI, xfontsel

$ xfontsel -pattern *iso8859-1*

> Also with most apps, I only see a limited variety of the defined fonts.  Is
> there a standard method of changing this for some/most apps, or is everything
> totally app dependent?

Yes. ;-) *Most* apps understand fonts specified using X resource format.
Many popular ones don't, however.

Kurt
-- 
Life is like an onion: you peel off layer after layer, then you find
there is nothing in it.


More information about the Linux-users mailing list