Visual Hebrew text appears reversed

RESOLVED FIXED in mozilla0.9.8



17 years ago
10 years ago


(Reporter: xslf, Assigned: ftang)


Mac OS X
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)




(1 attachment)



17 years ago
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:0.9.6+)
BuildID:    2001112108

Unlike previos bugs filed for mac OS, this is the exact opposite: Logical pages
appaer more or less ok, visual text appears tottally reveresed

Reproducible: Always
Steps to Reproduce:
1. go to any visual page...

Actual Results:  text in the words is reveresed

Expected Results:  should be OK

Comment 1

17 years ago
Created attachment 59208 [details]
(partial) screendump using Windows 2000

This is what I see, using Build ID: 2001 11 23 03 and Windows 2000.

Shoshannah: Just because I'm curious: What is the difference between
"logical pages" and "visual text" in Hebrew?

Comment 2

17 years ago
Svante, Hebrew is a right to left (RTL) language, HTML and webbrowsers weren't really designed to consider this, so the first 'support' for Hebrew (and Arabic...) was done using a format called Visual where you lay text out backwards according to how a dumb webbrowser would display each character from left to right (LTR).  Logical actually allows words and sentences to be typed into a document correctly instead of backwards.

Reporter: are you certain this bug isn't a dupe of any of them?

Comment 3

17 years ago
reporter: which mac mozilla are you using? classic, CFM or Mach-O?

there are only two live Mac OS X bidi bugs and they're both yours, does that mean you resolved bug 110655?

The fact that you're running on OS X instead of OS8/9 should probably be able to explain this reversal of BiDi support.

Comment 4

17 years ago
Bug  110655 is not resolved yet, so I do not have control over the typface used
to display Hebrew sites. However, Logical hebrew sites (like or ) display more or less OK.
the search i did for mac Hebrew bugs:
brings up 8 bugs, all about logical pages, not visual.
I am not sure how to tell if I am running CFM or Mach-O Mozilla- I downloaded
this build from the latest nightly for mac OS 10 (not Classic).
I am running OS 10.1, with Hebrew fonts taken from system 9.2 and a
unicode/hebrew keyboard (avalible from )
On the same system, I can get OmniWeb to display visual pages, but no logical ones.

Comment 5

17 years ago
the nightlies are CFM

Comment 6

17 years ago
I think fixing bug 116976 and 116982 will fix this problem 
Assignee: mkaply → ftang
Depends on: 116976, 116982
Ever confirmed: true


17 years ago
Target Milestone: --- → mozilla0.9.8

Comment 7

17 years ago
I believe the following three patch should fix most mac os hewbrew problem

big endian issue in nsFrame.cpp
see latest patch in

big endian issue in nsBidiImp.cpp

turn off hebrew reordering and do not report hint on mac gfx

Comment 8

17 years ago
this should be fixed right now.
Last Resolved: 17 years ago
Resolution: --- → FIXED


17 years ago
Blocks: 104060


17 years ago
No longer blocks: 104060


10 years ago
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.