Page 1 of 1

Need a test font that work with 'weird' characters like ä

Posted: Mon Feb 15, 2021 6:52 pm
by gcmartijn
Hi,

Does someone have a font that includes characters like: ä

I want to test:

Code: Select all

 love.graphics.print("testätest")
At the moment the output is: testtest

All fonts that I download don't support it, but that's weird because I do see it inside the font example.
For example this font, do show the special character:

https://fonts.google.com/specimen/Robot ... .open=true

Thanks!

Re: Need a test font that work with 'weird' characters like ä

Posted: Mon Feb 15, 2021 7:25 pm
by pgimeno
Not sure what problem you're having. Even with the default font, that character works for me. And the one in Roboto Regular as well.

Re: Need a test font that work with 'weird' characters like ä

Posted: Mon Feb 15, 2021 7:37 pm
by grump
Lua file was probably saved with wrong encoding. Make sure it's utf-8.

Re: Need a test font that work with 'weird' characters like ä

Posted: Mon Feb 15, 2021 7:39 pm
by gcmartijn
Oke, good to know thanks.
Then I know I have to check my code and create a small test script.