createFontMem

Creates font by loading it from the specified memory chunk. Returns handle to the font or FONS_INVALID (aka -1) on error. Won't free data on error.

nothrow @trusted @nogc
int
createFontMem
(,
const(char)[] name
,
ubyte* data
,
int ndata
,)

See Also

Meta