MagnumFontConverter class
MagnumFont converter plugin.
Contents
Expects filename prefix, creates two files, prefix.conf and prefix.tga. See MagnumFont for more information about the font.
This plugin is available only on desktop OpenGL, as it uses GL::WITH_MAGNUMFONTCONVERTER is enabled when building Magnum. To use as a dynamic plugin, you need to load the "MagnumFontConverter" plugin from MAGNUM_PLUGINS_FONTCONVERTER_DIR. To use as a static plugin or as a dependency of another plugin with CMake, you need to request the MagnumFontConverter component of the Magnum package and link to the Magnum::MagnumFontConverter target. See Downloading and building, Usage with CMake and Loading and using plugins for more information.
Base classes
- class AbstractFontConverter
- Base for font converter plugins.
Constructors, destructors, conversion operators
- MagnumFontConverter() explicit
- Default constructor.
-
MagnumFontConverter(PluginManager::
AbstractManager& manager, const std:: string& plugin) explicit - Plugin manager constructor.
Private functions
- auto doFeatures() const override -> Features virtual
- Implementation for features()
-
auto doExportFontToData(AbstractFont& font,
GlyphCache& cache,
const std::
string& filename, const std:: u32string& characters) const override -> std:: vector<std:: pair<std:: string, Containers:: Array<char>>> virtual - Implementation for exportFontToData()
Function documentation
std:: vector<std:: pair<std:: string, Containers:: Array<char>>> Magnum:: Text:: MagnumFontConverter:: doExportFontToData(AbstractFont& font,
GlyphCache& cache,
const std:: string& filename,
const std:: u32string& characters) const override virtual private
Implementation for exportFontToData()
If the plugin doesn't have Feature::