Issue 97921 - Cannot get proper rendering of Arabic script with Scherezade font
Summary: Cannot get proper rendering of Arabic script with Scherezade font
Alias: None
Product: porting
Classification: Code
Component: MacOSX (show other issues)
Version: OOO300m9
Hardware: Mac Mac OS X, all
: P2 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: oooqa
: 84473 103766 (view as issue list)
Depends on:
Reported: 2009-01-10 02:41 UTC by bimargulies
Modified: 2013-01-29 21:39 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

File that shows the problem (7.56 KB, application/vnd.oasis.opendocument.spreadsheet)
2009-01-10 02:42 UTC, bimargulies
no flags Details
Image of the problem (101.36 KB, image/tiff)
2009-01-10 03:09 UTC, bimargulies
no flags Details
Mac OSX itself has problems with the font... (168.98 KB, image/png)
2009-03-30 23:12 UTC, lohmaier
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description bimargulies 2009-01-10 02:41:38 UTC
I've enabled CTL. I've got Arabic text.

1) The text left-justifies in the cell even when the sheet and the cell are both

2) the big problem. The letters are rendered without the proper joining.
Comment 1 bimargulies 2009-01-10 02:42:39 UTC
Created attachment 59285 [details]
File that shows the problem
Comment 2 bimargulies 2009-01-10 03:09:02 UTC
Created attachment 59286 [details]
Image of the problem
Comment 3 lohmaier 2009-03-30 23:07:41 UTC
Confirming, not related to Calc, same in Writer.

Using the Mac OSX provided Geeza Pro font shows no problem.

But I guess it is not OOo-Related. TextEdit has the same problem, and Mac OSX
font-preview displays dotted marks for Scheherazade, but not for Geeza Pro.

So would be nice if OOo would support the font as it does on Linux, but not sure
whether much can be done.

Reassigning to mac porting project.
Comment 4 lohmaier 2009-03-30 23:12:10 UTC
Created attachment 61289 [details]
Mac OSX itself has problems with the font...
Comment 5 lohmaier 2009-03-30 23:27:52 UTC
addendum: I just noticed that there is a special ATSUI variant available that
doesn't exhibit the problem (only available as Freeware release, not under OFL)

Unfortunately the AAT (Apple Advanced Typography) font is named
"Scheherezade-AAT", so it is not automatically used when opening a document that
uses the Scheherezade font. One needs to add a font-replacement or change the
font manually.

So the question is: is an ICU based renderer available on the Mac (maybe as
fallback/option)? If not, will one be added?
Comment 6 lohmaier 2009-04-02 00:17:41 UTC
*** Issue 84473 has been marked as a duplicate of this issue. ***
Comment 7 2009-04-06 09:19:57 UTC
We'll use CoreText on newer versions of OSX. ATSUI just doesn't handle the required OpenType features 
that the normal version of Scheherezade demands. ATSUI also has other problems in BiDi scripts such as 
issue 98790.
Comment 8 lohmaier 2009-07-25 00:23:44 UTC
*** Issue 103766 has been marked as a duplicate of this issue. ***
Comment 9 ahmedlinux 2009-11-16 21:47:41 UTC
the problem appears in OOO310m19 also !!

NeoOffice project had this problem before and they released a patch for it.

the problem existed in version 2.2.5 of NeoOffice and it has been fixed with
patch 7.

maybe we can look at their patch and we may know what exactly the problem is ..
Comment 10 lohmaier 2010-03-27 22:30:59 UTC
NeoOffice doesn't contribute back any code. And we cannot simply take it, because 
they chose to use an incompatible license. So people don't bother having a look 
at neooffice because otherwise NeoOffice folks claim we stole their code, even 
when only the basic idea is taken and the code written from scratch (has happened 
in the past already).