Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should support SDF and bitmap fonts #35

Open
MSGhero opened this issue Feb 21, 2022 · 0 comments
Open

Should support SDF and bitmap fonts #35

MSGhero opened this issue Feb 21, 2022 · 0 comments

Comments

@MSGhero
Copy link
Member

MSGhero commented Feb 21, 2022

By default, HaxeUI loads all fonts defined in XML as SDF. For a bitmap font, including the default Heaps font, this will render blocky shapes instead of the actual characters. There should be support for both types.

This is not noticeable using labels unless you actually set the font in a style, as TextDisplayImpl skips over font things and falls through to Heaps if the font name isn't defined.

This is a reminder for me to whip up a sample with both types in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant