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 committed Feb 8, 2012
1 parent 345043a commit c15cb59
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 c15cb59

Please sign in to comment.