Font

Constructors

this
this(string path, int size)

Members

Functions

getGlyph
Glyph getGlyph(int character)
getKerning
Vector2 getKerning(int leftChar, int rightChar)
hasGlyph
bool hasGlyph(int character)
measureString
Vector2 measureString(string text)

Properties

texture
Texture texture [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

ftlibrary
FT_Library ftlibrary;
Undocumented in source.

Variables

ascentLine
int ascentLine;
Undocumented in source.
descentLine
int descentLine;
Undocumented in source.
hasKerning
bool hasKerning;
Undocumented in source.
lineHeight
float lineHeight;
size
int size;

Meta