eloraiby/arabtype

Does this work with combination of Arabic and Latin characters ?

Closed this issue · 3 comments

Consider a sequence of characters. Will this work for R-L for such combination of characters ?
Example
image

The above is the snapshot from MS Word. If I type the same in the text box I get the following
مرحبا يا صديقي120E كيف حالك

This library converts Arabic characters into their corresponding presentation forms. The resulting string produced here is ready for rendering. However this library does not have a render component.

When you render the text, e.g. using a bitmap font, your rendering loop will have to make sure to correctly render LTR or RTL. To answer your question, yes, it works in combination with Arabic & Latin characters, but your renderer has to to take care of actually render the characters correctly.

exactly what @noblemaster pointed out. The library has no notion of LTR/RTL.