From 51f5102713152a10399652e0b3f18bbb0caa3aa7 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Mon, 4 Jan 2010 16:37:53 +0000 Subject: (svn r18712) -Fix (r5167): Spurious character spacing with free type fonts for small and large font sizes. --- src/fontcache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/fontcache.cpp b/src/fontcache.cpp index 5f3d8f75a..9802c9a54 100644 --- a/src/fontcache.cpp +++ b/src/fontcache.cpp @@ -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); -- cgit v1.2.3-70-g09d2