Class FreeTypeFontManager
FreeType based font manager.
Inherits from
-
(base class)FontManager
Constructors
Name | Description |
---|---|
this
|
Fields
Name | Type | Description |
---|---|---|
_hintingMode
|
HintingMode |
|
_instance
|
FontManager |
|
_minAnitialiasedFontSize
|
int |
Properties
Name | Type | Description |
---|---|---|
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)
|
Methods
Name | Description |
---|---|
checkpoint
|
clear usage flags for all entries |
cleanup
|
removes entries not used after last call of checkpoint () or cleanup ()
|
getFont
|
get font instance with specified parameters
|
registerFont
|
register freetype font by filename - optinally font properties can be passed if known (e.g. from libfontconfig).
|
Authors
Vadim Lopatin, coolreader.org@gmail.com
Copyright
Vadim Lopatin, 2014
License
Boost License 1.0