AmyrAhmady / FarsiType

FarsiType - type in Farsi or Arabic in C++ programs and get a fixed version of it!
MIT License
40 stars 8 forks source link

Space is not spacing! #7

Open abumettleq opened 7 months ago

abumettleq commented 7 months ago

Hello, There.

I'm trying to create my own window for a game that I'm developing an extension system to. After creating the window with an Arabic title, the title is not showing spaces between Arabic words.

See the code usage snippet below,

std::string noticeText = ArabicType::ConvertToFAGlyphs(u8"عدد التسيجلات المسموح بها يعاد ضبطها بالسادسة صباحا");
ImGui::TextUnformatted(noticeText.c_str());

image

oscar7070 commented 6 months ago

Did you found how to fix it? i have the same issue.

abumettleq commented 6 months ago

Did you found how to fix it? i have the same issue.

I didn't find a solution, and actually stopped working on the project since then, so I stopped looking for a fix to this issue. If you find one later please share here.

oscar7070 commented 6 months ago

Ok.