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

Please fix non latin support #867

Open
yarda opened this issue Feb 7, 2023 · 3 comments
Open

Please fix non latin support #867

yarda opened this issue Feb 7, 2023 · 3 comments

Comments

@yarda
Copy link

yarda commented Feb 7, 2023

Describe the bug
Use e.g. the following text "Šutr". It previews OK on android, but when the text is sent to the badge everything after the "Š" is garbled. It seems there is some overflow, because the "utr" is wrongly vertically aligned and unreadable.

To Reproduce
Use e.g. the text "Šutr".

Expected behavior
Text "Šutr" is correctly rendered on both android preview and on the badge.

Logs
Not applicable.

Screenshots
App
Device

Smartphone Info:

Device Xperia XZ2C
Android Version 9

Additional context

Would you like to work on the issue?
I can try to fix it.

@icedwater
Copy link
Contributor

Hey @yarda! Thanks for raising this issue. I was testing some German characters and found similar alignment problems. Have you managed to find some clues on how to solve this? I hope I can find some time to look into the code as well.

@jaivsh
Copy link

jaivsh commented Sep 1, 2023

Hi, I can try to fix this

@icedwater
Copy link
Contributor

I've added some characters to the font on my end but I've only tested the USB version from upstream, not the Android app yet. I think that's the way forward, adding new characters - it may be intractable in the long run but as long as we're not planning to support ALL unicode characters I think ad-hoc additions might suffice.

Maybe a script to convert unicode glyphs into 8x11 bitmaps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

5 participants