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

Other Languages Support #12

Open
NiloofarGheibi opened this issue Dec 21, 2015 · 2 comments
Open

Other Languages Support #12

NiloofarGheibi opened this issue Dec 21, 2015 · 2 comments

Comments

@NiloofarGheibi
Copy link

Hello
First Of all, thanks for this awesome codes, I would Like to Display Farsi Text On the Screen.
I found a Font.h file, I converted a farsi Font Like "B nazanin" to the bitmap hex file, and replaced it, but it did not work, Do you have any Idea or solution for this?

Thank You so much
Niloofar

@rsta2
Copy link
Owner

rsta2 commented Dec 22, 2015

Thanks! The file lib/font.h contains a "Latin 1" font for the character codes 0x21 to 0xFF (16 bytes (= pixel lines) per character, 1 byte (= 8 pixels) per line). If you want to display characters of your language you can replace the characters from 0x80 to 0xFF in font.h. Character 0x80 is in line 129 of this file. The standard ASCII codes 0x21 to 0x7F should remain unchanged because they are used for log messages in Circle.

@NiloofarGheibi
Copy link
Author

Thanks for your reply. I'll try it out

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

2 participants