|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API bool MayaFlux::Portal::Text::add_fallback_font | ( | const std::string & | font_path | ) |
Load a font file and register it as a fallback on the default atlas.
Tried, in registration order, whenever the default font lacks a codepoint. Must be called after set_default_font(); survives a later call to set_default_font() (re-registered on the atlas it constructs).
| font_path | Path to a TTF or OTF file. |
Definition at line 105 of file Text.cpp.
References MayaFlux::Portal::Text::TypeFaceFoundry::add_fallback_font(), and MayaFlux::Portal::Text::TypeFaceFoundry::instance().
Referenced by add_fallback_font().
Here is the call graph for this function:
Here is the caller graph for this function: