[Libreoffice-bugs] [Bug 112093] RTL Regression in justified Hebrew text

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 1 13:25:24 UTC 2017


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

--- Comment #6 from Schlomo Schapiro <schlomo at schapiro.org> ---
Thanks for taking a look. I checked your "fixed" document and indeed the
overflow into the next page is fixed. So this is probably indeed related to the
spacing in the text frames.

I am sorry for the somewhat misleading example. My problem is much more with
the way how the justified (flush left and right) text is displayed on the right
side.

On the right side the beginning of the words are not aligned on a straight
vertical line but some lines have a slight indentation. This destroys the
justified look and is for Hebrew a big problem as the text is read from right
to left so that now the start of the text is not on the same position.

To help you identify the problem better I took a screenshot from your fixed
document and marked with red lines the problematic margin. Green lines show the
correct left margin.

To further demonstrate that this issue is actually not related to my example
document I also created a screencast of how to recreate the problem:

1) open a webbrowser and go to http://www.i18nguy.com/unicode/shma.html
2) scroll down till after the yellow boxes with English text till you come to
the Hebrew text.
3) copy 2 paragraphs of the main text (skip the heading)
4) open a new LOO editor (where CTL is enabled and set to Hebrew)
5) paste the 2 paragraphs without formatting
6) select all the text and switch to RTL and set justified
7) cycle through different fonts. Ezra SIL shows it strongly (available in
Ubuntu), Andale Mono also shows it. Libertine doesn't.
8) switch between RTL and LTR and observe how the text layout changes slightly.
With LTR the right margin is slightly better justified than in RTL, but the
problem still persists.

See the screencast for a demo.

My conclusion from observing this is:
* The font has a strong influence on the intensity of the problem
* RTL / LTR setting also has an influence
* The problem is not related to any specific document but to the way how LOO
renders the Hebrew justified text.

As this worked till before LOO 5.3 and since this clearly looks very bad I hope
that this information will help you to solve the issue. Please don't hesitate
to ask for more, I'll be also happy to try out anything you suggest.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170901/072710f4/attachment-0001.html>


More information about the Libreoffice-bugs mailing list