|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Portal::Text::FontFace::load | ( | const std::string & | path, |
| FT_Long | index = 0 |
||
| ) |
Load a font file from disk.
| path | Absolute or relative path to a TTF, OTF, or collection file. |
| index | Face index within a collection; 0 for ordinary font files. |
Definition at line 8 of file FontFace.cpp.
References MayaFlux::Journal::API, MayaFlux::Portal::Text::TypeFaceFoundry::instance(), m_face, m_path, MF_ERROR, MF_INFO, path(), MayaFlux::Journal::Portal, and unload().
Here is the call graph for this function: