KineticJS icon indicating copy to clipboard operation
KineticJS copied to clipboard

Kinetic.Text RTLing

Open hillai opened this issue 12 years ago • 3 comments

Hi!

First of all I must say you've done a very good job with KineticJS. But as I'm working on a project that envolves text in Hebrew, I noticed that the Kinetic.Text element does not support right-to-left writing. I tried RTLing my text manually (AKA moving punctuation to the left) but it's very far from being perfect - when you write a sentence that containes Hebrew and English letters, for example, the output looks terrible. So my request is, can you please add a "dir" attribute for Kinetic.Text, allowing us Hebrew and Arabic developers to write right-to-left text? Please? Pretty please?

Thanks a lot, Hillai

hillai avatar Mar 17 '14 12:03 hillai

I am also an Israeli using your KineticJS work, and as hillai said, it's fantastic, but I also noticed the missing attribute, and I agree that it would be very helpful to have it. Thanks you very much

Vintage-2212 avatar Mar 18 '14 15:03 Vintage-2212

Does this work?

<canvas dir="rtl">

vmichnowicz avatar May 10 '14 00:05 vmichnowicz

Not with KineticJS it doesn't.

hillai avatar May 14 '14 10:05 hillai