Class FontManager

Access points to fonts.

Inherits from

  • Object (base class)

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 -- for cleanup of unused fonts
cleanup removes entries not used after last call of checkpoint() or cleanup()
getFont get font instance best matched specified parameters

Authors

Vadim Lopatin, coolreader.org@gmail.com

Copyright

Vadim Lopatin, 2014

License

Boost License 1.0