FreeTypeFontFile

Undocumented in source.

Constructors

this
this(FT_Library library, string filename)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
getCharIndex
FT_UInt getCharIndex(dchar code, dchar def_char)

find glyph index for character

getGlyphInfo
bool getGlyphInfo(dchar code, Glyph glyph, dchar def_char, bool withImage)

retrieve glyph information, filling glyph struct; returns false if glyph not found

open
bool open(int size, int index)

open face with specified size

Properties

baseline
int baseline [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
face
string face [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
filename
string filename [@property getter]

filename

height
int height [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
instanceCount
int instanceCount [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isNull
bool isNull [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
italic
bool italic [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
library
FT_Library library [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
int size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
weight
int weight [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

getReplacementChar
dchar getReplacementChar(dchar code)

find some suitable replacement for important characters missing in font

Meta