Open
Bug 1320274
Opened 9 years ago
Updated 3 years ago
ZWJ at bidi run boundaries do not always have an effect
Categories
(Core :: Layout: Text and Fonts, defect, P3)
Core
Layout: Text and Fonts
Tracking
()
NEW
People
(Reporter: khaled, Unassigned)
Details
Attachments
(4 files, 3 obsolete files)
In the attached test file, the same string but different base direction shows different handling of the ZWJ at bidi run boundaries.
This is a follow up for https://github.com/w3c/i18n-discuss/issues/2
| Reporter | ||
Comment 1•9 years ago
|
||
| Reporter | ||
Comment 2•9 years ago
|
||
| Reporter | ||
Comment 3•9 years ago
|
||
Firefox and Chrome render the attached HTML differently, and both are wrong IMO.
Comment 4•9 years ago
|
||
What versions of Firefox and Chrome are you using? And what OS are you using?
It seems to me Firefox and Chrome have the same rendering for the testcase on my machine, and different from the rendering in the images you uploaded.
The screenshot is showing Firefox Developer Edition 52.0a2 and Chrome Canary 57 on macOS Sierra. (And I see the same rendering from Firefox 50 and Chrome 54, which are the current release.
I'm not familiar with those glyphs. Is this the expected rendering?
Flags: needinfo?(khaledhosny)
| Reporter | ||
Comment 5•9 years ago
|
||
Attachment #8814326 -
Attachment is obsolete: true
| Reporter | ||
Comment 6•9 years ago
|
||
Attachment #8814328 -
Attachment is obsolete: true
| Reporter | ||
Comment 7•9 years ago
|
||
Attachment #8814329 -
Attachment is obsolete: true
| Reporter | ||
Comment 8•9 years ago
|
||
I think the choice of Arabic letter was a bit unfortunate as some fonts try to be smart and render its isolated form differently. I updated the HTML file and the screenshots to use another Arabic letter. You may also want to install the Amiri font (https://github.com/khaledhosny/amiri-font/releases) to get the same font I’m using (which might be important on Mac since the default Arabic fonts are AAT not OpenType and might behave differently).
Flags: needinfo?(khaledhosny)
| Reporter | ||
Comment 9•9 years ago
|
||
From what I’m seeing, it seems that when the base direction is LTR, Firefox applies only the leading ZWJ while Chrome applies only the trailing one. When the base direction is RTL both get applied correctly.
Updated•8 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•