FONScontextInternal.getFontByName

Returns font id corresponding to the given logical font name, or FONS_INVALID.

struct FONScontextInternal
const pure nothrow @trusted @nogc
int
getFontByName
(
const(char)[] name
)
Suggestion Box / Bug Report