- UPM
float UPM()
Undocumented in source. Be warned that the author may not have intended to support it.
- ascent
int ascent()
- boundingBox
int[4] boundingBox()
Undocumented in source. Be warned that the author may not have intended to support it.
- capHeight
int capHeight()
- charRanges
const(CharRange)[] charRanges()
Undocumented in source. Be warned that the author may not have intended to support it.
- descent
int descent()
- familyName
string familyName()
- fileData
const(ubyte)[] fileData()
- getBaselineOffset
float getBaselineOffset(FontBaseline baseline)
- glyphIndexFor
ushort glyphIndexFor(dchar ch)
Undocumented in source. Be warned that the author may not have intended to support it.
- hasGlyphFor
bool hasGlyphFor(dchar ch)
Does this font has a glyph for this codepoint?
- horizontalAdvance
int horizontalAdvance(dchar ch)
- horizontalAdvanceForGlyph
int horizontalAdvanceForGlyph(int glyphIndex)
- invUPM
float invUPM()
Undocumented in source. Be warned that the author may not have intended to support it.
- isMonospaced
bool isMonospaced()
- leftSideBearing
int leftSideBearing(dchar ch)
- lineGap
int lineGap()
- maxAvailableChar
dchar maxAvailableChar()
maximum Unicode char available in this font
- measureText
OpenTypeTextMetrics measureText(string text)
Returns text metrics for this piece of text (single line assumed), in glyph units.
- numGlyphs
int numGlyphs()
- postScriptItalicAngle
float postScriptItalicAngle()
- postScriptName
string postScriptName()
- style
OpenTypeFontStyle style()
- subFamilyName
string subFamilyName()
- weight
OpenTypeFontWeight weight()
Parses a font from a font file (which could contain data for several of them).