espruino / espruino/BangleApps

[Messages/fontext] Proper transliteration / bitmap converter option for regional + emojis

Open
#3,849 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
571
Forks
1.3k
Avg merge
17h 38m
Merged PRs (30d)
17

Description

This is not proper bug report but rather question for guidance due to my lack of ability for searching codebase of gadgetbridge + banglejs.

With fontext I was able to achieve regional font in messages -> emoji is changed to ascii

With fontext and "text as bitmaps" option in gadgetbridge emoji is proper but now regional characters are also converted.
This is same behavior as if I didn't install fontext package.

I tried also mess a bit with transliteration options but no luck there.

This is a bit annoying since messages font is scaled based on how much text will be visible. Bitmaps stays same size tho.

As for now I am almost certain that problem is with my setup or gadgetbridge function to convert problematic strings but I post it here that most likely somebody can help me get proper info before posting it on gadgetbridge repo.

I use combo of nightly builds and 2v26.1 fw

Thanks in advance

Screenshots:
Baseline with or without bitmaps:
![Image](https://github.com/user-attachments/assets/a24c5cc9-f5ed-46b2-b79c-29573a5c7a46)

Good emoji (bitmaps mode):
![Image](https://github.com/user-attachments/assets/623560cc-54f7-4c70-81fa-993c0988d795)

But bad regional chars (bitmaps mode):
![Image](https://github.com/user-attachments/assets/76167ba2-5f29-4ee4-a91e-7c80a05ef9f1)

Good regional chars (normal mode):
![Image](https://github.com/user-attachments/assets/1e509a7e-ddac-4a08-816c-1f5b2cff3f6b)

But as expected no emojis:
![Image](https://github.com/user-attachments/assets/1ea6ef3c-b1fe-4922-9050-65ccd5ce293d)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.