18 template <> FontManager* Singleton<FontManager>::msInstance =
nullptr;
19 template <>
const char* Singleton<FontManager>::mClassTypeName =
"FontManager";
23 mXmlFontTagName(
"Font"),
24 mXmlPropertyTagName(
"Property"),
25 mXmlDefaultFontValue(
"Default")
40 mDefaultName =
"Default";
58 mIsInitialise =
false;
63 #ifndef MYGUI_DONT_USE_OBSOLETE
65 #endif // MYGUI_DONT_USE_OBSOLETE
70 if (node->
getName() == mXmlPropertyTagName)
74 #ifdef MYGUI_USE_FREETYPE
77 if (key ==
"DefaultGenerated")
86 mDefaultName = _value;
93 if (!_name.empty() && _name != mXmlDefaultFontValue)
96 if (result ==
nullptr)
99 if (!_name.empty() && _name != mXmlDefaultFontValue)
101 MYGUI_LOG(Error,
"Font '" << _name <<
"' not found. Replaced with default font.");