Class FreeTypeFontFile

class FreeTypeFontFile;

Constructors

NameDescription
this (library, filename)

Properties

NameTypeDescription
allowKerning[get] boolallow kerning
baseline[get] int
face[get] string
filename[get] stringfilename
height[get] int
isNull[get] bool
italic[get] bool
library[get] ft.FT_LibraryRec*
size[get] int
weight[get] int

Methods

NameDescription
clear ()
getCharIndex (code, def_char) find glyph index for character
getGlyphInfo (code, glyph, def_char, withImage) retrieve glyph information, filling glyph struct; returns false if glyph not found
getKerningOffset (prevCharIndex, nextCharIndex)
open (size, index) open face with specified size

Aliases

NameDescription
~this