https://bugs.documentfoundation.org/show_bug.cgi?id=161303

--- Comment #13 from Hossein <[email protected]> ---
(In reply to Jonathan Clark from comment #12)
> (In reply to Hossein from comment #7)
> > What is your conclusion? An upstream bug from HarfBuzz?
> 
> I'm not convinced this is a bug.
I think this is indeed a bug, although the root cause needs to be discussed.

I can provide some reasons:

1) As an RTL/CTL user which uses Arabic script, I find it wrong.

2) Falling out of the margin/screen: When you type kasrah (or other harakat
diacritics), it goes out of the margin (in case of gedit, it goes out of
screen).

3) Glitch: When you type another Arabic character, it comes back to the margin
(screen). This is not the kind of behavior I expect when I type some text.

4) Inconsistency: It can't be that both rendering alternatives are correct.

5) Causing issues with formatting: In this example, even color is attached
incorrectly:
$ pango-view --font="Noto Sans Arabic 256" --rtl --markup --text '-<span
color="red">ِ</span>.|'

> Just experimenting naively with the dotted circle kasra case, I could
> reproduce the same bad placement in 4 completely distinct shapers:
> DirectWrite, CoreText, HarfBuzz, and Pango.
> 
> I don't know why they're doing it, and I'm not saying this is what anyone
> should want. But with so many implementations doing the same thing, it's
> reasonable to guess this is intentional.
I suspect that the direction is calculated incorrectly.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to