Closed Bug 154011 Opened 23 years ago Closed 23 years ago

some characters (e.g. the dash/minus '-') are not displayed correctly relative to hebrew characters

Categories

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

x86
Windows 2000
defect
Not set
trivial

Tracking

()

VERIFIED DUPLICATE of bug 73251

People

(Reporter: lishai, Assigned: mkaply)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530
BuildID:    2002053012

when the minus sign appears directly before a number, or a number with % (and
probably many more strange signs) the expected layout is minus sign left of the
number, and that works fine.

however, if the minus sign is right after a hebrew char (say the letter BET) ,
the minus sign is expected left of the letter BET, and right of the number
(first BET, then minus, then number, displayed right to left)

currently, the order is first BET, then number, then minus, displayed right to left.

NOTE: this is not unique to the letter BET. replace BET with any combination of
hebrew characters 

Reproducible: Always
Steps to Reproduce:
1.create an html file looking like the one i wrote (or any file with the
combination hebrew-word then minus then number
2.open it
3.

Actual Results:  the combination hebrew word then  dash then  number (example BET-3)
displayes as hebrew word then number then minus(RTL)


Expected Results:  the above combination should display as hebrew word then
minus then number RTL

the simplest html code to reproduce the bug:
<html>
<meta CHARSET="iso-8859-8I">
<body>

&#1489;-3  <!-- this line displayes incorrectly even in the text window in the 
   helper. the original line was written in w2k notepad, and i typed BET, then
minus,then 3.
BET of course referes to the hebrew letter -->

</body>
</html>
Mozilla's display of these cases is correct according to the standards. I know
that there are other browsers which display the way that you expect, but we have
already considered and rejected emulating this behaviour (see discussion in bug
73251).

THere are various workarounds suggested there and in bug 113566 -- the one I
like best is to use the Hebrew makkaf (&#x5be; or &#1470;) instead of the ASCII
hyphen-minus. In many fonts this also looks a lot better.

*** This bug has been marked as a duplicate of 73251 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Summary: some characters (e.g. the dash/minus '-') are not displayed correctly relarive to hebrew characters → some characters (e.g. the dash/minus '-') are not displayed correctly relarive to hebrew characters
vrfy dupe
Status: RESOLVED → VERIFIED
Summary: some characters (e.g. the dash/minus '-') are not displayed correctly relarive to hebrew characters → some characters (e.g. the dash/minus '-') are not displayed correctly relative to hebrew characters
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.