FontLib::AddFontsFrom

FontLib::AddFontsFrom
void AddFontsFrom(MovieDef* md, bool pin = 1);
Description

AddFontsFrom adds the fonts from the MovieDef to the font library. By default, the movie is pinned in the loader so that its textures don't get unloaded.

Parameters
Parameters 
Description 
MovieDef* md 
Pointer to MovieDef object that serves as source for fonts. 
bool pin = 1 
Flag when set to true indicates that users do not keep smart pointers to the loaded movie. If flag is set to false, font binding data such as exported or packed textures may be released early and have to be reloaded when the font is used.