MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ add_fallback()

void MayaFlux::Portal::Text::GlyphAtlas::add_fallback ( FontFace &  face)

Register a fallback face, tried in order after the primary on a miss.

Parameters
faceLoaded FontFace. Must outlive this atlas. Sized to this atlas's pixel_size lazily, on first use, same as the primary face.

Definition at line 64 of file GlyphAtlas.cpp.

65{
66 m_fallbacks.push_back(&face);
67}
std::vector< FontFace * > m_fallbacks

References m_fallbacks.