(svn r18712) -Fix (r5167): Spurious character spacing with free type fonts for small and large font sizes.

This commit is contained in:
peter1138 2010-01-04 16:37:53 +00:00
parent 051e54c9a7
commit 51f5102713
1 changed files with 1 additions and 1 deletions

View File

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