Hojjat
Hojjat
> Hi, was just wondering if this is still being worked on? Hi, I have been super busy irl. But this and a few RTL features are definitely somethings I...
Would you please share the text file that causes this issue?
Looks correct in both editor-libcosmic and editor-orbclient.  I'm guessing if you add some English text to the second line it would be reversed too. Is the algorithm you're using...
> I need to unreverse it to draw the glyphs I think the problem lies here. As far as I know, you don't need to reverse the glyphs, just iterate...
You give your font and text to `ShapeLine::new()` and get your layout out of `ShapeLine::layout()`. That's all you need to do. You can [just iterate](https://github.com/pop-os/cosmic-text/blob/6c355bf08bbe0e1a513e53b4e192d821dc9aa552/src/buffer.rs#L707) through LayoutLines and LayoutGlyphs and...
Since the title says "BIDI Layout is random", I thought you are having issues with the layout algorithm. I didn't know you're doing your own layouting. Text layout is complex....
I haven't had a chance to work on this and the codebase has changed a lot since when I started this PR, so I don't know how much more work...