FreeType font plugin.
The font can be created either from file or from memory location of format supported by FreeType library.
This plugin depends on the Text and FreeType libraries and is built if
WITH_FREETYPEFONT is enabled when building Magnum Plugins. To use as a dynamic plugin, you need to load the
"FreeTypeFont" plugin from
MAGNUM_PLUGINS_FONT_DIR. To use as a static plugin or as a dependency of another plugin with CMake, you need to request the
FreeTypeFont component of the
MagnumPlugins package and link to the
MagnumPlugins::FreeTypeFont target. See Downloading and building plugins, Plugin usage with CMake and Loading and using plugins for more information.
This plugin provides the
- class AbstractFont
- Base for font plugins.
- class HarfBuzzFont
- HarfBuzz font plugin.