Closed
Bug 623495
Opened 15 years ago
Closed 14 years ago
Turn on harfbuzz shaper by default for Hebrew on OS X
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
RESOLVED
FIXED
mozilla5
People
(Reporter: smontagu, Assigned: jfkthame)
References
Details
Attachments
(1 file, 1 obsolete file)
|
13.78 KB,
patch
|
smontagu
:
review+
|
Details | Diff | Splinter Review |
Rendering of Hebrew with harbuzz turned on (gfx.font_rendering.harfbuzz.level set to 3) gives much better results for placement of diacritics and cantillation marks in fonts with good open type tables, and is no worse than CoreText in other fonts.
| Assignee | ||
Comment 1•14 years ago
|
||
To handle this, it seems like a good time to revise how script-to-shaper dispatching is handled. Instead of a simple "hierarchy" of script complexity, let's use a collection of bit flags that allow the various kinds of shaper to be enabled or disabled independently. This makes it easy to split out Hebrew from the other scripts. We may also find, as harfbuzz shapers develop, that we want to switch on shaping for Hangul, Mongolian, and Indic at different times, and it's not clear which order these will happen, so the old "shaping level" model would potentially need to be repeatedly modified; bit flags give us more flexibility.
Assignee: nobody → jfkthame
Attachment #508810 -
Flags: review?(smontagu)
| Assignee | ||
Comment 2•14 years ago
|
||
(Sorry for the bugspam, forgot to do this earlier before posting the patch.)
Updated to consolidate the script-shaping test into gfxPlatform, rather than duplicating it in the gfxFont subclasses.
Attachment #508810 -
Attachment is obsolete: true
Attachment #508863 -
Flags: review?(smontagu)
Attachment #508810 -
Flags: review?(smontagu)
| Reporter | ||
Updated•14 years ago
|
Attachment #508863 -
Flags: review?(smontagu) → review+
| Reporter | ||
Comment 3•14 years ago
|
||
After the fix for bug 635639 is checked in, can we extend this to all platforms, or are there other problems with older Hebrew fonts in harfbuzz?
| Assignee | ||
Comment 4•14 years ago
|
||
Pushed this to the cedar branch:
http://hg.mozilla.org/projects/cedar/rev/e1167451033f
| Assignee | ||
Comment 5•14 years ago
|
||
(In reply to comment #3)
> After the fix for bug 635639 is checked in, can we extend this to all
> platforms, or are there other problems with older Hebrew fonts in harfbuzz?
We can probably do this, but it'd be good to test a variety of Hebrew fonts on Windows and Linux before actually making the change. I'd suggest we track that in a separate bug.
Whiteboard: [fixed-in-cedar]
Comment 6•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-cedar]
Target Milestone: --- → mozilla2.2
You need to log in
before you can comment on or make changes to this bug.
Description
•