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
Type: Fnt*

Pointer to the font to destroy.

dpy
Type: Display*

Display associated with the font to destroy

Examples

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

Fnt.free(f)

Meta