- updated findfont method to be shared and to use more default fonts if main ones are not found

This commit is contained in:
Mark Vejvoda
2011-11-19 07:35:12 +00:00
parent ce68ca0a7d
commit 3fd8c1ef90
6 changed files with 140 additions and 252 deletions

View File

@@ -48,11 +48,8 @@ public:
private:
FTFont *ftFont;
//FTGLPixmapFont *ftFont;
const char* fontFile;
const char* findFont(const char *firstFontToTry=NULL);
void cleanupFont();
};