TrueType font plugin using stb_freetype.
The font can be created either from file or from memory location of format supported by StbTrueType library.
This plugin depends on the Text library and is built if
WITH_STBTRUETYPEFONT is enabled when building Magnum Plugins and depends on the Text library. To use as a dynamic plugin, you need to load the
"StbTrueTypeFont" 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
StbTrueTypeFont component of the
MagnumPlugins package and link to the
This plugin provides
TrueTypeFont plugin, but please note that this plugin trades the simplicity and portability for various limitations, the most visible being the lack of autohinting. That causes the rendered glyphs looking blurry compared to FreeTypeFont and because of that the font properties and sizes don't exactly match properties of fonts opened with FreeTypeFont using the same size.