-
-
Notifications
You must be signed in to change notification settings - Fork 978
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
Notifications don't show all utf-8 characters #261
Comments
The Infinitime font don't have the complete characters set for international languages. https://github.com/JF002/InfiniTime/tree/develop/src/displayapp/fonts#readme |
That's a known... missing feature. ITF-8 defines 1,112,064 valid characters and adding all of them into the font would probably fill the memory of the pinetime several time! For now, we've only included basic ASCII characters and cyrillic ones. It's still missing all accentuated letters from French Language (éèêë), German characters (#212) and many other characters from other languages. As the flash memory of the device is nearly full right now, we'll have to find a smart way to implement internationalization into infinitime :) |
😃 fonts stored on LFS loaded by LVGL's storage driver (I'd really love a blobmoji font) |
Too bad 😁. Not sure how difficult would it be, but perpahs the Gadgetbridge could send letters and strip the accents. This way it would be at least readable. For instance in Python I would use something like unidecode |
For more complicated emojis, maybe Gadgetbrige could just render them to bitmap and send them with the message? |
can a larger font be stored on the SPI flash? where could we find statistics on most used glyphs? |
I would say that's really region dependent, I wonder how much would it be to include at least European languages? |
There are 64 letters in the Latin-1 Supplement unicode block. I presume that includes a lot of the characters that people want. |
I've noticed this issue as well, specifically with the letters Æ,Ø and Å. It would be pretty awesome to have my native letters supported :-D But from the posts above mine it seems there isn't a super-simple solution to this issue :-( |
I am experiencing the same thing with Icelandic special characters. I can alleviate that a bit by enabling transliteration in gadgetbridge but that does not cover all the cases sadly.
Gadgetbridge seems to transliterate all of them correctly except for þ and ð. Which should transliterate to th and d. Now I do realize that this is an impossible task for the watch to store all these fonts, but would it be possible to make infinitime handle transliteration instead of hoping for 3rd party apps to handle it correctly? or is that asking too much of it? |
Nope, too language-specific. Open an issue on Gadgetbridge's repository about it being incorrect in your language. LVGL can load fonts from external storage, in theory, someone just has to do it. |
Done. here's the link for anyone interested. https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/2388 |
Duplicate of #212 and known issue, can be closed? |
Leaving a note here for future readers. Fixing/improving transliteration in Gadgetbridge seems to be super straight forward and they are quick to fix it once pointed out. I opened an issue on their issue tracker and it was fixed in couple of days. It just arrived in f-droid couple of days ago even and works wonders. |
Hi, |
I have noticed that characters like ščřžěšÅÄÖ are omitted from the notifications shown on PineTime. I also tested this in Gadgetbridge by sending messages with these characters. It does not seem to be Gadgetbridge issue but I cannot rule it out 100%.
Please let me know if there is any way I can help with debugging, testing etc. Sorry if this has already been fixed in the newer releases.
InfiniTime 0.14.0
Gadgetbridge 0.55.0 (patched version by Joaquim)
The text was updated successfully, but these errors were encountered: