Class FreeTypeFont
Font implementation based on FreeType
Constructors
Name | Description |
---|---|
this
(item, size)
|
Fields
2 inherited fields
Properties
Type | Name | Description |
---|---|---|
bool |
isNull [get]
|
Returns true if font object is not yet initialized / loaded |
10 inherited properties
Methods
Name | Description |
---|---|
checkpoint
()
|
Clear usage flags for all entries |
cleanup
()
|
Removes entries not used after last call of checkpoint() or cleanup()
|
clear
()
|
Cleanup resources |
clearGlyphCache
()
|
Clears glyph cache |
create
()
|
Load font files |
findGlyph
(code, def_char, index, file)
|
Find glyph index for character |
getCharGlyph
(ch, withImage)
|
Get character glyph information |
getKerningOffset
(prevChar, currentChar)
|
Get kerning between two chars |
1 inherited methods