The OpenD Programming Language

fontFace

Sets the font face based on specified name of current text style.

The underlying implementation is using O(1) data structure to lookup font names, so you probably should use this function instead of fontFaceId to make your code more robust and less error-prone.

nothrow @trusted @nogc
void
fontFace
(,
const(char)[] font
)

See Also

Meta