Change: Vertically centre sprite font relative to TrueType font.

This commit is contained in:
Peter Nelson
2022-12-17 23:34:19 +00:00
committed by Tyler Trahan
parent 8599041ce4
commit daaa058493
4 changed files with 10 additions and 7 deletions

View File

@@ -29,12 +29,12 @@ protected:
int descender; ///< The descender value of the font.
int units_per_em; ///< The units per EM value of the font.
static int GetDefaultFontHeight(FontSize fs);
public:
FontCache(FontSize fs);
virtual ~FontCache();
static int GetDefaultFontHeight(FontSize fs);
/**
* Get the FontSize of the font.
* @return The FontSize.