Magnum/Text/AbstractFontConverter.h file

Class Magnum::Text::AbstractFontConverter, enum Magnum::Text::FontConverterFeature, enum set Magnum::Text::FontConverterFeatures.

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::Text
Text rendering.

Classes

class Magnum::Text::AbstractFontConverter
Base for font converter plugins.

Enums

enum class FontConverterFeature: UnsignedByte { ExportFont = 1 << 0, ExportGlyphCache = 1 << 1, ImportGlyphCache = 1 << 2, ConvertData = 1 << 4, MultiFile = 1 << 5 } new in 2020.06
Features supported by a font converter.

Typedefs

using FontConverterFeatures = Containers::EnumSet<FontConverterFeature> new in 2020.06
Features supported by a font converter.

Functions

auto operator<<(Debug& debug, FontConverterFeature value) -> Debug&
Debug output operator.
auto operator<<(Debug& debug, FontConverterFeatures value) -> Debug&
Debug output operator.

Defines

#define MAGNUM_TEXT_ABSTRACTFONTCONVERTER_PLUGIN_INTERFACE new in Git master
Font converter plugin interface.

Define documentation

#define MAGNUM_TEXT_ABSTRACTFONTCONVERTER_PLUGIN_INTERFACE new in Git master

Font converter plugin interface.

Same string as returned by AbstractFontConverter::pluginInterface(), meant to be used inside CORRADE_PLUGIN_REGISTER() to avoid having to update the interface string by hand every time the version gets bumped:

CORRADE_PLUGIN_REGISTER(MyFontConverter, MyNamespace::MyFontConverter,
    MAGNUM_TEXT_ABSTRACTFONTCONVERTER_PLUGIN_INTERFACE)

The interface string version gets increased on every ABI break to prevent silent crashes and memory corruption. Plugins built against the previous version will then fail to load, a subsequent rebuild will make them pick up the updated interface string.