(svn r23009) -Change: Improve appearance of antialiased text with shadow.

This commit is contained in:
2011-10-07 07:48:59 +00:00
parent ca1df3ddab
commit 8a41530585
3 changed files with 21 additions and 2 deletions

View File

@@ -45,6 +45,7 @@ void InitFreeType();
void UninitFreeType();
const Sprite *GetGlyph(FontSize size, uint32 key);
uint GetGlyphWidth(FontSize size, uint32 key);
bool GetDrawGlyphShadow();
typedef bool (SetFallbackFontCallback)(const char **);
/**
@@ -82,6 +83,11 @@ static inline uint GetGlyphWidth(FontSize size, uint32 key)
return SpriteExists(sprite) ? GetSprite(sprite, ST_FONT)->width + (size != FS_NORMAL) : 0;
}
static inline bool GetDrawGlyphShadow()
{
return false;
}
#endif /* WITH_FREETYPE */
#endif /* FONTCACHE_H */