Class FreeTypeFontManager
FreeType based font manager.
Properties
| Name | Type | Description |
registeredFontCount[get]
|
int | returns number of registered fonts
|
fontGamma[set]
|
double | set font gamma (1.0 is neutral, < 1.0 makes glyphs lighter, >1.0 makes glyphs bolder)
|
fontGamma[get]
|
double | get font gamma (1.0 is neutral, < 1.0 makes glyphs lighter, >1.0 makes glyphs bolder)
|
hintingMode[get]
|
HintingMode | get current hinting mode (Normal, AutoHint, Disabled)
|
hintingMode[set]
|
HintingMode | set hinting mode (Normal, AutoHint, Disabled)
|
instance[set]
|
FontManager | sets new font manager singleton instance
|
instance[get]
|
FontManager | returns font manager singleton instance
|
minAnitialiasedFontSize[get]
|
int | get min font size for antialiased fonts (0 means antialiasing always on, some big value = always off)
|
minAnitialiasedFontSize[set]
|
int | set new min font size for antialiased fonts - fonts with size >= specified value will be antialiased (0 means antialiasing always on, some big value = always off)
|
subpixelRenderingMode[get]
|
SubpixelRenderingMode | get current subpixel rendering mode for fonts (aka ClearType)
|
subpixelRenderingMode[set]
|
SubpixelRenderingMode | set subpixel rendering mode for fonts (aka ClearType)
|
Methods
| Name | Description |
checkpoint
()
|
clear usage flags for all entries
|
cleanup
()
|
removes entries not used after last call of checkpoint() or cleanup()
|
clearGlyphCaches
()
|
clears glyph cache
|
getFaces
()
|
override to return list of font faces available
|
getFont
(size, weight, italic, family, face)
|
get font instance with specified parameters
|
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).
|