HaxeFlixel / flixel

Free, cross-platform 2D game engine powered by Haxe and OpenFL
https://haxeflixel.com/
MIT License
1.93k stars 427 forks source link

Fix wrap without reverting kerning #3120

Closed Geokureli closed 2 months ago

Geokureli commented 2 months ago

~Reverts HaxeFlixel/flixel#3035~

The issue has been fixed, I've added tests that ensure CI errors if it happens again.

Adds the getRenderedText function to FlxBitmapText, mainly to allow better unit testing of the wrap field