mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-31 11:23:21 +00:00
(svn r18712) -Fix (r5167): Spurious character spacing with free type fonts for small and large font sizes.
This commit is contained in:
parent
051e54c9a7
commit
51f5102713
@ -1004,7 +1004,7 @@ const Sprite *GetGlyph(FontSize size, WChar key)
|
||||
}
|
||||
|
||||
new_glyph.sprite = BlitterFactoryBase::GetCurrentBlitter()->Encode(&sprite, AllocateFont);
|
||||
new_glyph.width = (slot->advance.x >> 6) + (size != FS_NORMAL);
|
||||
new_glyph.width = slot->advance.x >> 6;
|
||||
|
||||
SetGlyphPtr(size, key, &new_glyph);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user