Issue 79746 - arabic text not displayed
Summary: arabic text not displayed
Status: CLOSED DUPLICATE of issue 78983
Alias: None
Product: porting
Classification: Code
Component: MacOSX (show other issues)
Version: 680m221
Hardware: All Mac OS X, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: ericb
QA Contact: issues@porting
URL:
Keywords: aqua
Depends on:
Blocks:
 
Reported: 2007-07-18 11:11 UTC by ismaelooo
Modified: 2007-10-23 17:50 UTC (History)
2 users (show)

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


Attachments
text in arabic replaced by square (30.03 KB, image/png)
2007-07-18 11:13 UTC, ismaelooo
no flags Details
similar issue with X11 version (267.09 KB, image/png)
2007-07-19 05:17 UTC, sparcmoz
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description ismaelooo 2007-07-18 11:11:31 UTC
With Arabic version of OOo aqua, arabic text is displayed as square. It is
displayed correctly in window titles and menus (menu of the top of the screen
not popup menus).

Do other non Latin languages like Hebrew, Thai, Japanese have the same problem?

Tested on a French version of MacOS X
Comment 1 ismaelooo 2007-07-18 11:12:14 UTC
adding keyword and CC
Comment 2 ismaelooo 2007-07-18 11:13:50 UTC
Created attachment 46879 [details]
text in arabic replaced by square
Comment 3 sparcmoz 2007-07-18 11:24:59 UTC
This may be similar to issue 78983? - when changing the system preferences
"International - Language" from English to Japanese, it is necessary also to
restart the Finder (Force Quit) before launching OOo, then the characters
display correctly.
Comment 4 sparcmoz 2007-07-18 12:34:52 UTC
I confirm the result as shown in the attached screenshot. Using maho build of
m221 ar.
The method from issue 78983 does not help. The situation is worse here - I
select Arabic in the System Preferences - Languages, but none of the OSX
applications will take any notice, not even Finder. I tried Force Quit Finder,
log out and in, and restart the system, nothing helps. So in my case I can not
say if this is an OOo problem, therefore not confirmed.
Comment 5 sparcmoz 2007-07-19 05:17:59 UTC
Created attachment 46904 [details]
similar issue with X11 version
Comment 6 ekato 2007-07-20 08:31:44 UTC
I think it can be solved with the way mentioned in the issue 78983.  And it
seems using smSystemScript in GetThemeFont() has two disadvantage.

One is that it only usable when Mac OS X's language setting matches with the
language of OOo Aqua's package (e.g. Japanese OOo package shows only square
glyphs for Japanese UI text when launched with English
"International->Languages" setting of Mac OS X's System Preferences).  The other
is GetThemeFont() with smSystemScript doesn't support a few (or some?) languages
as discovered in this issue (e.g. Arabic).

If I modify to use kFontArabicScript explicitly for GetThemeFont() in OOo Aqua
Arabic package, it can display its UI text (see attached test patch and
screenshot).  I think implementing a conversion table between UI locale and
ATSUI font scripts helps to solve these two problems.  But as hdu mentioned in
issue 78983, synchronization with changing OOo's language setting may be further
needed.


*** This issue has been marked as a duplicate of 78983 ***
Comment 7 philipp.lohmann 2007-10-23 17:50:39 UTC
closing