XFontStruct *XLoadQueryFont(display, name)
Display *display;
char *name;
display | Specifies the connection to the X server. |
name | Specifies the name of the font, which is a null-terminated string. |
XLoadQueryFont() can generate a BadAlloc error.
BadAlloc | The server failed to allocate the requested source or server memory. |