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

--- Comment #3 from Hossein <[email protected]> ---
@Jonathan:
I tried to check if this is a bug from LibreOffice or Harfbuzz.

See these outputs from "pango-view" utility:

$ pango-view --font="Noto Sans Arabic 256" --rtl --markup --text " -ِ  ب"

$ pango-view --font="Noto Sans Arabic 256" --rtl --markup --text " -ِ "

This is even more interesting! The color red is used in another character!

$ pango-view --font="Noto Sans Arabic 256" --rtl --markup --text '-<span
color="red">ِ</span>.|'

With additional Arabic character, it becomes OK:
pango-view --font="Noto Sans Arabic 256" --rtl --markup --text '-<span
color="red">ِ</span> ب'

Also, compare these two outputs from "hb-view" utility:

h1) Extra Arabic character:
$ hb-view /usr/share/fonts/truetype/noto/NotoSansArabic-Regular.ttf " -ِ  ب"

h2) Direction set to auto:
$ hb-view /usr/share/fonts/truetype/noto/NotoSansArabic-Regular.ttf " -ِ "

h3) Output is similar to h2:
$ hb-view --direction=ltr
/usr/share/fonts/truetype/noto/NotoSansArabic-Regular.ttf " -ِ "

I see the same issue in gedit. If you type kasra as a first character, it falls
outside the screen, but when you type additional Arabic character, it comes
inside the screen.

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

Reply via email to