Closed Bug 268113 Opened 20 years ago Closed 19 years ago

BiDi text is reversed with style="font-variant: small-caps;"

Categories

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

x86
Windows 2000
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 284927

People

(Reporter: amirgol+bugzilla, Assigned: smontagu)

References

(Blocks 1 open bug)

Details

(Keywords: platform-parity)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041103 Firefox/1.0RC2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a4) Gecko/20040927

Hebrew and Arabic text appears in reverse order when the style is 'font-variant:
small-caps'. Hebrew and Arabic has no Capital letters, so 'font-variant:
small-caps' and 'font-variant: normal' should be identical.

This happens with Hebrew when the charset is Windows-1255, ISO-8559-8 and UTF-8;
Arabic seems to be affected only when the charset is UTF-8, with ISO-8859-6
appears to be fine.

Checked on Win2000 SP3 with Mozilla suite 1.8a4 and Firefox 0.9.3, 1.0PR and
1.0RC2, on WinXP SP1 with Firefox 1.0PR and on Debian Linux with Firefox 1.0RC2.
 I remember seeing this on earlier versions as well.

Reproducible: Always
Steps to Reproduce:
1. Load the attached test case.

Actual Results:  
The 2nd Hebrew string is rendered in reverse order: 'והדגבא' instead of 'אבגדהו'.

Expected Results:  
Both Hebrew strings should be identical.
Attached file testcase
I can't reproduce your testcase - both Hebrew strings are equal for me.  

Firefox 1.0PR, Linux gtk+xft 
Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041002 Firefox/0.10.1
That's odd, I've seen it in Linux myself. Could've been the non-xft build
though, I'll check it tomorrow.
Cannot repro' on:
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041105
Firefox/1.0
Keywords: pp
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Assignee: mkaply → smontagu
Status: ASSIGNED → NEW
My bad - we've tested it again under Linux and we couldn't reproduce it either.
We probably did something wrong the first time (hey, I was just standing by when
the "Linux Dude" did his voodoo :-) ).

So apparently it's a Windows-only bug.
i see this, on winXP SP1, mozilla 1.7.3.
Blocks: Persian
Depends on: 284927
The checkin for bug 284927 fixed this.

*** This bug has been marked as a duplicate of 284927 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
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: