[Libreoffice-bugs] [Bug 33302] FILEOPEN/EDITING RTL text: parentheses and brackets "(...) [...]" inverted to ")...( ]...[" with some fonts
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Aug 13 12:39:36 CEST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=33302
Roman Eisele <bugs at eikota.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
Summary|FILEOPEN RTL" brackets " |FILEOPEN/EDITING RTL text:
|(...)" inverted to " )...(" |parentheses and brackets
| |"(...) [...]" inverted to
| |")...( ]...[" with some
| |fonts
--- Comment #15 from Roman Eisele <bugs at eikota.de> 2012-08-13 10:39:36 UTC ---
(In reply to comment #14)
> to replicate the bug :
> 1. open Libreoffice .
> 2. start a new document .
> 3. write something (in hebrew of course) and try to put brackets around (while
> still in hebrew) .
> 4. you will see that the brackets are facing the opposite direction that they
> should be facing.
Following these steps, I can REPRODUCE this bug with LibreOffice 3.6.0.4 (Build
ID: 932b512), German UI, on MacOS X 10.6.8 (Intel).
I have to confess that reproducing this bug is a bit hard for people who don’t
speak/write Hebrew. First, in order to type some Hebrew, you have
(a) to activate Complex Text Layout (CTL) in the LibO preferences;
(b) to activate the Hebrew keyboard/input in the MacOS X System Preferences
and to switch to it via the keyboard/input menu;
(c) to show the keyboard preview window in order to find the ( ) keys
which in Hebrew are at different places than in English, German, etc.
Secondly, it is hard to type a foreign script without knowing it ;-)
This may explain why this bug did not receive much attention ... sorry!
But as far as I can tell, it does not make any difference if you type "real"
Hebrew (I tried the first words of book Genesis) or just nonsense in Hebrew
glyphs: the parentheses are facing the opposite direction in both cases!
> This happens in ALL the application that are part of Libreoffice.
Confirmed; I tried Writer, Calc, and Impress: IMHO no difference.
> The issue is probably related to fonts, because if you use the raanana font
> with hebrew the issue doesn't occur.
A very good observation! If I play around with the sample file (attachment
42258), the parentheses are right if I change the font to
-- Raanana
-- Lucida Grande
-- New Peninim MT
-- Arial Hebrew
-- Corsiva Hebrew
But the parentheses look wrong if I change the font to
-- Times New Roman
-- Arial Unicode MS (default font!)
-- Linux Libertine G
-- Linux Libertine O
I don't know what exactly makes the difference, but I suspect that the
parentheses got rendered correctly with fonts which are either explictely
Hebrew fonts (and probably known to LibreOffice as that): Raanana, New Peninim
MT, Arial Hebrew, and Corsiva Hebrew), or are MacOS X System fonts including
Hebrew (Lucida Grande). The other fonts (Times New Roman, Arial Unicode MS,
Linux Libertine G/O) do really contain Hebrew glyphs, but maybe they are not
known as valid Hebrew fonts to LibO?
A final remark:
We are talking about parentheses (parens: '(' ')'), not about brackets, as the
screenshot and the sample file confirm. But brackets '[' ']' suffer from
exactly the same problem, too! They are exchanged (flipped horizontally) just
like the parentheses. -> Adjusted the bug summary.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Libreoffice-bugs
mailing list