Created attachment 70229 [details]
Arabic letters with Tahoma font
OS X 10.7.5
Steps to reproduce:
1. Open LO Writer
2. Switch to an Arabic keyboard layout
3. Type something
Expected behaviour: Letters should be connected to each other
Received behaviour: Letters do not connect.
Possible workaround: This happens with Tahoma font. If the font is changed to Geeza Pro, letters do connect. But with Tahoma font it is broken.
Changing the default Mac RTL font to Geeza Pro may temporarily solve this problem, but this is definitely an important bug. In NeoOffice both letters with both fonts do connect fine.
Created attachment 70230 [details]
Arabic letters with Geeza Pro typeface
Created attachment 70457 [details]
LO 188.8.131.52 alpha 1 screenshot
@ Emir Sarı:
Thank you for your bug report! Could you please attach a simple sample file in .odt format, just containing some (correct) Arabic words? Because typing Arabic is difficult for us ignorant Europeans and Americans who are used to Latin (and maybe Greek and/or Cyrillic) letters only ... ;-)
Created attachment 70649 [details]
sample arabic text
Adding some sample text, first two lines are formatted with Geeza Pro typeface, and the last two lines are formatted with Tahoma Arabic.
Thank you very much for the sample file!
Using Emir Sarı’s sample file, this bug is easily REPRODUCIBLE with LibreOffice 184.108.40.206 on Mac OS X (10.6.8).
The bug is already reproducible with the same results in LibreOffice 3.3.0 (and all following versions), and also reproducible in AOO 3.4.0, so this bug is probably inherited from OOo.
The bug is also still reproducible in the newest master builds.
Which fonts work and which don’t? I tested the fonts installed on my machine which include complete Arabic character sets, and found:
LibreOffice connects letters (correct) with
* Al Bayan
* DecoType Nashkh
* Geeza Pro
* Kufi Standard GK
LibreOffice fails to connect letters (wrong) with
* Arial Unicode MS
* Microsoft Sans Serif
* Times New Roman
(This suggests to me a simple idea: IIRC, all fonts in the former (correct) group are installed by Apple/Mac OS X itself; all fonts in the later (wrong) group come from Microsoft (Office etc.) :-) No, I don’t want to blame Microsoft; my idea is rather that ATSUI (and thus LibreOffice?) may *know* about the fonts in the correct group, i.e. recognize them correctly as Arabic fonts, but does *not* know about the latter group, and therefore does not know about these fonts. Is this possible? I don’t know, but a developer experienced in this area could tell us about that ...)
Fixed in LO 4.1 Beta1.