Skip to content

FarsiType - type in Farsi or Arabic in C++ programs and get a fixed version of it!

License

Notifications You must be signed in to change notification settings

AmyrAhmady/FarsiType

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • Farsi/Persian or Arabic languages are RTL which makes them reversed.
  • They have 4 forms for each letter, so computer can't find the right one by itself.

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

  • Numbers are reversed, so you should write 19 instead of 91. should add a check for numbers.

About

FarsiType - type in Farsi or Arabic in C++ programs and get a fixed version of it!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages