(svn r26170) -Feature-ish: add the currently used fonts to the crash log

This commit is contained in:
rubidium
2013-12-22 17:46:27 +00:00
parent b02179bd8e
commit 00c05e79b1
3 changed files with 21 additions and 0 deletions

View File

@@ -81,6 +81,7 @@ public:
virtual bool GetDrawGlyphShadow();
virtual GlyphID MapCharToGlyph(WChar key) { assert(IsPrintable(key)); return SPRITE_GLYPH | key; }
virtual const void *GetFontTable(uint32 tag, size_t &length) { length = 0; return NULL; }
virtual const char *GetFontName() { return "sprite"; }
};
/**
@@ -239,6 +240,7 @@ public:
virtual bool GetDrawGlyphShadow();
virtual GlyphID MapCharToGlyph(WChar key);
virtual const void *GetFontTable(uint32 tag, size_t &length);
virtual const char *GetFontName() { return face->family_name; }
};
FT_Library _library = NULL;