shrhdk / text-to-svg

Convert text to SVG path without native dependence.
Other
978 stars 132 forks source link

Support for right to left languages #30

Open casablancaplusplus opened 6 years ago

casablancaplusplus commented 6 years ago

Hi, thanks for the great job on this module, but it seems like its not getting RTL languages correctly since it does turn the letters into svg but it seperates the letters. RTL languages like persian are concatenated.

image

while it should be: کلاه

the letters are also spitted out backwards. I'll appreciate it if you support this. thanks in advance Ahmad,

TheServat commented 6 years ago

you can use fa-normalize

demo

thany commented 6 years ago

When I try the Arabic word مرحبا it just renders [X] boxes.