[devel] XLFD font naming convention

Lucien Gentis lucien.gentis at univ-lorraine.fr
Fri Mar 1 17:09:02 UTC 2019


Hi,

When in an X application, we call (with 14 fields) :

XListFonts(serveur, "-*-*-*-*-*-*-0-0-*-*-*-0-*-*", 10000, &nbFonts);

we get scalable fonts with fields 7,8,12 at "0" like :

-bitstream-charter-medium-i-normal--0-0-75-75-p-0-iso8859-1
-dec-terminal-medium-r-normal--0-0-75-75-c-0-dec-dectech

but if we call :

XListFonts(serveur, "-*-*-*-*-*-*-0-*-*-*-*-*-*-*", 10000, &nbFonts);

we also get fonts with only field 7 at "0" like :

-bitstream-charter-bold-r-normal--0-120-100-100-p-0-iso8859-1
-adobe-new century schoolbook-bold-r-normal--0-120-100-100-p-0-iso10646-1

what about these fonts ?

It's told in doc that scalable fonts must have their fields 7, 8 and 12 
at "0"



More information about the xorg mailing list