Skip to content

Commit

Permalink
Fix SpriteFont spacing - port from develop
Browse files Browse the repository at this point in the history
  • Loading branch information
kjpou1 authored and KonajuGames committed Feb 10, 2012
1 parent 4c10c9e commit cfd1f1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MonoGame.Framework/Graphics/SpriteFont.cs
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ public void Input (char c)
}

if (HasCurrentGlyph)
Offset.X += CurrentGlyph.WidthIncludingBearings;
Offset.X += _font.Spacing + CurrentGlyph.WidthIncludingBearings;

HasCurrentGlyph = _font.ResolveGlyphWithFallback (c, out CurrentGlyph);
if (!HasCurrentGlyph)
Expand Down

0 comments on commit cfd1f1b

Please sign in to comment.