Closed Bug 116982 Opened 23 years ago Closed 23 years ago

MacOS X do not render Hebrew correctly

Categories

(Core :: Layout: Text and Fonts, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.9.8

People

(Reporter: ftang, Assigned: ftang)

References

Details

Attachments

(1 obsolete file)

on MacOS X, hebrew display incorrectly even after we fix bug 116976. 

in 562 NS_IMETHODIMP nsRenderingContextMac::GetHints(PRUint32& aResult)

we currently always set BIDI and ARBIC shapping on.
571 result |= NS_RENDERING_HINT_BIDI_REORDERING;
572 result |= NS_RENDERING_HINT_ARABIC_SHAPING;

we should depend on the script system. If Hebrew script is installed, set
NS_RENDERING_HINT_BIDI_REORDERING on. If Arabic script is installed, set both
flag on.
sfraser, can you r= this one. We need this patch and the fix in 116976 to fix
MacOS X Hebrew rendering.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.8
Blocks: 104056
Blocks: 74125
Blocks: 80577
Blocks: 96305
Blocks: 110655
Blocks: 111967
No longer blocks: 110655
Blocks: 117028
please , make sure you dont go by the leading system script .
you should only check if the script is installed . Because most
Hebrew users , their system is configuered with Roman Script
as the leading Script and not Hebrew ( Since OS 9.1 )
The code in the patch just asks if a script is enabled, not whether it's the 
system script, so I think that's OK. sr=sfraser
thanks
Blocks: 104060
No longer blocks: 104056
Comment on attachment 62785 [details] [diff] [review]
turn on bidi flag depend on the script system

http://bugzilla.mozilla.org/attachment.cgi?id=62920&action=view in bug 107098
obsolete this patch
Attachment #62785 - Attachment is obsolete: true
I believe the following three patch should fix most mac os hewbrew problem

big endian issue in nsFrame.cpp
see latest patch in http://bugzilla.mozilla.org/show_bug.cgi?id=116976

big endian issue in nsBidiImp.cpp 
http://bugzilla.mozilla.org/attachment.cgi?id=62917&action=view

turn off hebrew reordering and do not report hint on mac gfx
http://bugzilla.mozilla.org/attachment.cgi?id=62920&action=view
No longer blocks: 104060
this should be fixed right now.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Blocks: 104060
No longer blocks: 104060
Component: Layout: BiDi Hebrew & Arabic → Layout: Text
QA Contact: zach → layout.fonts-and-text
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: