Changeset - r14154:7e8e7c9f319a
[Not reviewed]
master
0 1 0
peter1138 - 15 years ago 2010-01-04 16:37:53
peter1138@openttd.org
(svn r18712) -Fix (r5167): Spurious character spacing with free type fonts for small and large font sizes.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/fontcache.cpp
Show inline comments
 
@@ -1004,7 +1004,7 @@ const Sprite *GetGlyph(FontSize size, WC
 
	}
 

	
 
	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);
 

	
0 comments (0 inline, 0 general)