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

getKerningOffset
int getKerningOffset(FT_UInt prevCharIndex, FT_UInt nextCharIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
open
bool open(int size, int index)

open face with specified size

Properties

allowKerning
bool allowKerning [@property getter]

allow kerning

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.

Meta