Class FreeTypeFontManager
FreeType-based font manager
Constructors
Name | Description |
---|---|
this
()
|
Properties
Type | Name | Description |
---|---|---|
int |
registeredFontCount [get]
|
Returns number of registered fonts |
6 inherited properties
Methods
Name | Description |
---|---|
checkpoint
()
|
Clear usage flags for all entries - to clean up unused fonts |
cleanup
()
|
Removes entries not used after last call of checkpoint() or cleanup()
|
clearGlyphCaches
()
|
Clear glyph cache |
getFamilies
()
|
Return list of font families available, associated with generic families |
registerFont
(filename, skipUnknown)
|
|
registerFont
(filename, family, face, italic, weight, dontLoadFile)
|
Register freetype font by filename - optinally font properties can be passed if known (e.g. from libfontconfig). |
getFontImpl
(selector)
|
Non-caching implementation of getFont
|
1 inherited methods