Gamua / Starling-Framework

The Cross Platform Game Engine
http://www.starling-framework.org
Other
2.82k stars 821 forks source link

letterSpacing does not applied to BitmapFont #1003

Closed urunky closed 6 years ago

urunky commented 6 years ago

In class BitmapFont, 'arrangeChars' method doesn't refer format.letterSpacing value.

I think add currentX += format.letterSpacing at line 409 will resolve this issue

PrimaryFeather commented 6 years ago

You're right, that was an oversight! It's now fixed. Thanks for the heads-up!