Skip to content
🇮🇷 Persian reshaper for use in the u8g2 library
C C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
font
.gitignore
LICENSE
README.md
char_ascii.xlsx
screenshot.jpg
u8g2-persian-reshaper.ino

README.md

📖 About

Reconstruct Persian/Arabic sentences for use in the u8g2 library. In languages like Persian/Arabic, the letter is modified depending on where it should go in a word. Usually, when you print to the display ordinary Persian/Arabic text, each character is printed individually and is not joined together, whereas a computer would join it automatically on the screen but not modifying the actual data of each character.

📚 Description

Persian/Arabic script is very special with two essential features:

  • It is written from right to left.
  • The characters change shape according to their surrounding characters.

So when you try to print text written in Persian/Arabic script on LCD/OLED display that doesn’t support Persian/Arabic you’re pretty likely to end up with something that looks like this:

📷 Screenshot

⚙️ Download & Usage

Download/Clone repository, then Install u8g2 library. Change this line depending on the display type and wiring. Finally upload the code.

راهنمای استفاده به زبان فارسی

راهنمای ساخت فونت جدید

📫 Contact

Copyright (C) 2019 Ramin Sangesari.

💵 Donation

If this project help you reduce time to develop, you can give me a cup of coffee :)

You can’t perform that action at this time.