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