MCPcopy Create free account
hub / github.com/ddnet/ddnet / SetIconFaceByName

Method SetIconFaceByName

src/engine/client/text.cpp:637–646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

635 }
636
637 bool SetIconFaceByName(const char *pFamilyName)
638 {
639 m_IconFace = GetFaceByName(pFamilyName);
640 if(!m_IconFace)
641 {
642 log_error("textrender", "The icon font face '%s' could not be found", pFamilyName);
643 return false;
644 }
645 return true;
646 }
647
648 bool AddFallbackFaceByName(const char *pFamilyName)
649 {

Callers 1

LoadFontsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected