AmyrAhmady / FarsiType

FarsiType - type in Farsi or Arabic in C++ programs and get a fixed version of it!
MIT License
39 stars 8 forks source link
arabic cpp cpp11 farsi imgui

FarsiType

a simple library for Farsi/Arabic strings written in C++

Screenshots (using ImGui for rendering)

Correct Form:
ScreenShot

Broken:
ScreenShot

About

Hello.
I decided to do something useful in my free time and I've to admit, I kinda needed a thing like this too!.
I'm using ImGui made by @ocornut on a project and I needed to render Farsi texts. Unfortunately I wasn't able to do it for 2 reasons:

So after 3 days of searching for an answer and ways to achieve this, I finally came here with my own library that uses C++11. (I would do it in pure C if it was my choice, but seems like it's not possible in an easy way.)
Hope you guys find this useful!
If you found any issue or have any suggestion, feel free to create an issue for it.
Also, feel free to contribute and make this better for everyone :).

Known bugs