-
Notifications
You must be signed in to change notification settings - Fork 178
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
Is there support for Cyrillic in fonts? #252
Comments
Please add the .ttf you are using or a link to download it. Add also:
Please when you write an issue give full details of what you are trying to do and explain how to reproduce it adding all necessary information. |
python3 fontconvert.py myfont 10 lucida-sans-unicode.ttf > font2_10.h I used the script provided by LilyGo-EPD47. On it, everything was converted without errors, and the compiler did not swear. Then I found your resource. But the compiler swears at the fonts after your script. I'm new to coding so I could easily make a mistake. |
Dear @SerjPr Right? So you are asking about using specific characters that are used for example in Polish/Russian alphabet.
Try adding there the interval for Cyrillic fonts. Not all font viewers in Linux will show you that part, please get ahold a Font software like Font Forge or similar where you can check the interval range you want to add: After that check if the font itself is in font.h file. Then what I'm not sure if works and you have to try for yourself is to check if drawing that string, the matched character will look-up and print the character. But I think that part you where missing since I don't see any Cyrillic font in your font header file. |
Posts will be closed after 2 months without replies after the waiting for feedback label is applied. @SerjPr please give some feedback if we can help you further |
Good afternoon. I tried to add Cyrillic through fontconvert.py script. The font is converted, but the Latin works and the Cyrillic does not. Or did I make a mistake due to little experience in the code, or is there no Cyrillic support? I tried different fonts but the result is the same.
The text was updated successfully, but these errors were encountered: