Fnt.this

Ctor. Creates a Fnt object wrapping the specified font for a given display.

struct Fnt
this
(
Display* dpy
,
in string fontname
)

Parameters

dpy
Type: Display*

X display

fontname
Type: string

Name of the font to wrap (X font name)

Examples

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

Meta