flixel
flixel copied to clipboard
FlxBitmapText slicing is wrong in hashlink
slicing is messed up on hashlink, but works perfectly fine on html5

this font (hard to see on night mode):

code:
var monospaceLetters:String = " !\"#$%&'()*+,-.\\0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[/]^_`abcdefghijklmnopqrstuvwxyz{|}~";
var charSize = FlxPoint.get(7, 10);
var fontMonospace = FlxBitmapFont.fromMonospace("assets/images/RetroMedievalV3.png", monospaceLetters, charSize);
var text:FlxBitmapText = new FlxBitmapText(fontMonospace);
text.scrollFactor.set(0, 0);
text.setPosition(0, 100);
text.autoSize = false;
text.width = text.fieldWidth = 84;
text.letterSpacing = -1;
text.multiLine = true;
text.text = "The quick brown fox jumps over the lazy dog, supercala-phragalist-icexpiala-docious";
add(text);
found by @chosencharacters