mirror of https://github.com/OpenTTD/OpenTTD.git
Change: Sprite-scale inter-character spacing of fonts.
This commit is contained in:
parent
ed60c88b0a
commit
13d271217f
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue