Font

The object to load and use the font.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

charIndex
auto charIndex(T symbol, int flags)
Undocumented in source. Be warned that the author may not have intended to support it.
free
void free()

Free memory

load
Font load(string path, size_t size)

Loads a font.

renderSymbol
FontSymbolInfo renderSymbol(uint index, int fload, int frender)
Undocumented in source. Be warned that the author may not have intended to support it.
resize
void resize(size_t newSize)

Changes the font size to the specified parameter.

Properties

face
FT_Face face [@property getter]

Font face object.

size
size_t size [@property getter]

Font size.

Variables

cache
FontSymbolInfo[uint] cache;
Undocumented in source.

Meta