MCPcopy Create free account
hub / github.com/Aloshi/EmulationStation / initLibrary

Method initLibrary

src/Font.cpp:64–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void Font::initLibrary()
65{
66 if(FT_Init_FreeType(&sLibrary))
67 {
68 LOG(LogError) << "Error initializing FreeType!";
69 }else{
70 libraryInitialized = true;
71 }
72}
73
74Font::Font(const ResourceManager& rm, const std::string& path, int size) : fontScale(1.0f), mSize(size), mPath(path)
75{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected