RTL support
redayoub opened this issue · 8 comments
Hi,
Does Holder.js support RTL text? If not, is there any way to that?
Thanks.
that should be straightforward to implement. could you provide an example, and how you'd want it to display? i'm not an expert on RTL rendering so i'd like to ensure it works with real-world use cases first.
I'm using it with arabic text, so for exemple the text : "الدار البيضاء" is displayed like that "البيضاء الدار " inside a holder image. In css we can do that by setting text direction to rtl.
ok i'll add that as a test, thanks
Thanks
How can I add this manually please ?
i'm not sure if it can be done manually. the only thing i can think of is reversing the string before passing is to Holder
The below link introduces you, useful references to rendering RTL text in SVG.
W3C - SVG Text direction
Good luck.
thanks @PerseusTheGreat