Closed Bug 722139 Opened 12 years ago Closed 12 years ago

Turn on harfbuzz shaper by default for Hebrew on all platforms

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla13

People

(Reporter: smontagu, Assigned: jfkthame)

References

(Depends on 2 open bugs)

Details

Attachments

(3 files)

Currently harfbuzz is turned on by default for Hebrew on OSX and Android, and for Arabic on all platforms. We need to determine whether there are any issues preventing turning it on for Hebrew on all platforms.
Blocks: 721821
I am attaching a file with pairs of letters with diacritics. In each pair the characters are the same, but ordered differently. Chromium displays each pair identically. Firefox on Linux with harfbuzz enabled displays the pairs differently.
On Linux:
* if the value of gfx.font_rendering.harfbuzz.scripts is 4, then all the pairs in the file hebrew-html-harfbuzz-test-aharoni.html appear different.
* if the value of gfx.font_rendering.harfbuzz.scripts is 3, then the first three pairs appear the same and correct and the last two pairs appear different.
Attachment #592487 - Attachment mime type: text/plain → text/html
Blocks: 662055
Currently, switching to harfbuzz for Hebrew would regress the rendering of older fonts such as those on Windows XP, which rely on using the Unicode presentation form codepoints for letters with dagesh (and a few other combinations).

Filed bug 728866 to address this. Once that is resolved, I think we could seriously consider switching on harfbuzz by default for all platforms.
Depends on: 728866
I _think_ we're at the point where it makes sense to do this; Simon?
Attachment #599072 - Flags: review?(smontagu)
Attachment #599072 - Flags: review?(smontagu) → review+
Pushed to inbound:
https://hg.mozilla.org/integration/mozilla-inbound/rev/063e67b9f910

This should give us more uniform behavior for Hebrew, where previously the results varied significantly between platforms, especially with regard to diacritic handling.

(The one exceptional case will be AAT fonts on OS X, which still go through the Core Text path.)
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla13
https://hg.mozilla.org/mozilla-central/rev/063e67b9f910
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Depends on: 727560
Depends on: 762028
Depends on: 763300
Depends on: 778565
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: