Arabic font interface suggestions

Hello, I’m now working on an Arabic font and I have two suggestions. Tbh one problem and one suggestion.

When I change the text side so that in preview I write from right to left and navigate with arrows on keyboard, the sides are mixed. I mean right arrow still takes me to the next glyph, but the next glyph is on the left which is normal, but navigation is not normal.

Other thing is that when I want to print from my preview window, I get everything to the left of the visible area. The text starts in the place where it would normally start when the text is from left to right, so it goes left to the margin and out of page.

Good to put that in some update.

The cursor behavior was modeled affect the behavior of Adobe apps. I find it confusing, too.

I try to improve the printing.