Fnt.free

Free the given font object associated with a display. This will release the GC allocated memory.

struct Fnt
static
void
free
(
Display* dpy
,)

Parameters

fnt Fnt*

Pointer to the font to destroy.

dpy Display*

Display associated with the font to destroy

Examples

auto f = Fnt(display, "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*");

Fnt.free(f)

Meta