Closed Bug 1157758 Opened 9 years ago Closed 9 years ago

in vertical writing mode with upright glyph orientation, Arabic-script shaping should not be applied

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: jfkthame, Assigned: jfkthame)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Testcase:

data:text/html;charset=utf-8,
  <div style="writing-mode:vertical-rl;text-orientation:upright">الخط العربي

Should render the Arabic letters in their isolated ("unshaped") form.[1]

(This is a harfbuzz issue; PR submitted upstream.[2] Once it is fixed there, we'll resolve the Gecko bug by taking a new harfbuzz version.)

[1] http://dev.w3.org/csswg/css-writing-modes/#typeset-upright
[2] https://github.com/behdad/harfbuzz/pull/100
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Attachment #8597609 - Flags: review?(jdaggett) → review+
It would be nice to have a reftest for this since no actual user is ever going to care about this codepath... :P
Here's a reftest that seems to work locally; if tryserver doesn't like it on some platforms, we might need to add a specific Arabic font to ensure consistent behavior, but let's see.
Attachment #8603209 - Flags: review?(jdaggett)
Attachment #8603209 - Flags: review?(jdaggett) → review+
https://hg.mozilla.org/mozilla-central/rev/e2aabff6bd77
https://hg.mozilla.org/mozilla-central/rev/876a0813cdc5
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: