Change: Sprite-scale inter-character spacing of fonts.

This commit is contained in:
Peter Nelson 2022-10-02 19:23:52 +01:00 committed by PeterN
parent ed60c88b0a
commit 13d271217f
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ uint SpriteFontCache::GetGlyphWidth(GlyphID key)
{
SpriteID sprite = this->GetUnicodeGlyph(key);
if (sprite == 0) sprite = this->GetUnicodeGlyph('?');
return SpriteExists(sprite) ? GetSprite(sprite, ST_FONT)->width + ScaleFontTrad(this->fs != FS_NORMAL ? 1 : 0) : 0;
return SpriteExists(sprite) ? GetSprite(sprite, ST_FONT)->width + ScaleSpriteTrad(this->fs != FS_NORMAL ? 1 : 0) : 0;
}
bool SpriteFontCache::GetDrawGlyphShadow()