DXmLoadQueryFont(3X)
NAME
DXmLoadQueryFont − Loads the font specified by the font name or generates a new font name.
SYNOPSIS
XFontStruct *DXmLoadQueryFont (d, fontname)
Display *d;
char *fontname;
PARAMETERS
The pointer to the display on which the font will be loaded. A pointer to the XLFD font name used to load a font.
DESCRIPTION
The DXmLoadQueryFont routine loads the font specified by the font name or, if the font fails to load, generates a new font name, and loads that font instead.
RETURN VALUES
A pointer to the XFontStruct of the font (if a font is successfully loaded). If a font cannot be loaded, Null is returned.