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

a whole unicode range being converted but not shown properly #131

Open
Osmax-Br opened this issue Dec 21, 2024 · 0 comments
Open

a whole unicode range being converted but not shown properly #131

Osmax-Br opened this issue Dec 21, 2024 · 0 comments

Comments

@Osmax-Br
Copy link

Osmax-Br commented Dec 21, 2024

Hi , I've been using cairo font in english for a while , I tried converting the arabic part of the font into lvgl format but it failed
in unicode there are three main ranges : Arabic(0600-06FF) , Arabic Presentation Forms-A (FB50-FDFF) and Arabic Presentation Forms-B (FE70-FEFF)
the 2nd and 3rd range are working properly and without any errors , however the first range converts and I can see it in the .c file , but it is not shown on the screen (shows only squares when converted alone , when converted with the 2nd and 3rd ranges it shows U+FB51 for all letter of Arabic(0600-06FF)
I tried many many other fonts to make sure that this particular font isnt working , but the issue seems to appear with any font
one more thing , the built-in "LV_FONT_DEJAVU_16_PERSIAN_HEBREW" font in lvgl do work fine and shows the Arabic(0600-06FF) letters correctly

here is my lv_font_config : lv_font_conv --size 32 -o "C:\Users\ Br\Downloads\Cairo2\cairo.c" --font "C:\Users\ Br\Downloads\Cairo2\Cairo-Regular.ttf" --range 0x20-0x7f -r 0x600-0x6FF -r 0xFB50-0xFDFF -r 0xFE70-0xFEFF --format lvgl --bpp 1

and thank you in advance

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