8.5.2 Obtaining and Freeing Font Names and Information

You obtain font names and information by matching a wildcard specification when querying a font type for a list of available sizes and so on.

To return a list of the available font names, use XListFonts().

To free a font name array, use XFreeFontNames().

To obtain the names and information about available fonts, use XListFontsWithInfo().

To free font structures and font names, use XFreeFontInfo().

Next: Computing Character String Sizes

Christophe Tronche, [email protected]