Specifically this font, although I’ve tried a few. Specifically in HashLink.

Anyone have any tips or best practices when it comes to fonts and FlxText in general? The default font looks great, but I’m finding that just about every other font I try looks kind of terrible. Like sort of grainy, I guess? The default one looks very crisp in comparison. Also, any non-default font that I put in a FlxButton seems to be vertically way off-center, raised up too high.

  • Remy RoseOPM
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Here’s the same comparison with the html5 target, in Chrome. I think it might be something to do with size of the game vs the size of the window? in Main.hx I have the game set to 320×240, and in Project.xml I have the window set to 640×480. I’m thinking when ScaleMode scales the game up to fit in the window, the font just scales really poorly?