Closed
Bug 827093
Opened 13 years ago
Closed 13 years ago
[harfbuzz] bug rendering Cham text
Categories
(Core :: Graphics: Text, defect)
Core
Graphics: Text
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: gen, Assigned: jfkthame)
References
Details
Attachments
(2 files)
|
86.30 KB,
text/plain
|
Details | |
|
2.51 KB,
patch
|
jtd
:
review+
|
Details | Diff | Splinter Review |
Danh Hong has identified a bug in harfbuzz that is creating problems in rendering of Cham language text.
http://www.khmertype.org/2013/01/cham-rendering-in-firefox.html
Is this something we can fix in Gecko or do we need to send this bug upstream to harfbuzz?
| Assignee | ||
Comment 1•13 years ago
|
||
It'll need to be addressed upstream. However, specific testcases (character sequences, and suggested OpenType fonts for testing) would be helpful; offhand, I'm not sure what font(s) we should be testing with. The khmertype.org page mentioned doesn't give any details...
Comment 2•13 years ago
|
||
the sequence is aa40,aa34, but I can't find any font...
Comment 3•13 years ago
|
||
Anyway, it's a pre-base reordering Ra. It's a consonant medial, so there is no halant/coeng before it, so we don't apply the pre-base-reordering logic. It's similar to the Myanmar cases we were checking in Vancouver.
Anyway, best way is to make the pref feature apply to the Ra alone, and I can change HarfBuzz to mark handle medial pre-base-reordering characters.
But first, need a font.
| Reporter | ||
Comment 4•13 years ago
|
||
I'll get a font for us to test with.
Updated•13 years ago
|
Keywords: testcase-wanted
| Reporter | ||
Comment 5•13 years ago
|
||
| Reporter | ||
Comment 6•13 years ago
|
||
Danh has provided a .ttf font for testing.
Also available here:
http://people.mozilla.org/~gen/files/testing/ChamPleiku.ttf
Comment 7•13 years ago
|
||
I left a message on his blog a few days ago but it doesn't show up and I didn't hear from him. Please tell him that the correct place to report bugs is the harfbuzz mailing list or bugzilla, not his blog...
| Reporter | ||
Comment 8•13 years ago
|
||
(In reply to Behdad Esfahbod from comment #7)
> Please tell him that the correct place to report bugs
> is the harfbuzz mailing list or bugzilla, not his blog...
Will do.
| Assignee | ||
Comment 9•13 years ago
|
||
I've filed bug 841313 about taking a harfbuzz update that should fix this issue.
Depends on: 841313
| Assignee | ||
Comment 10•13 years ago
|
||
This should appear in Nightly builds tomorrow. If you can verify that the new behavior is correct for Cham once that build is available, that would be great.
Comment 11•13 years ago
|
||
Jonathan, an additional issue was identify with Cham script and subsequently fixed by Behdad (see http://cgit.freedesktop.org/harfbuzz/commit/?id=b1f440759161cb5a54e1b1b910f3a8383b8e8472 for the fix).
It'd be nice for the above commit to be integrated into mozilla's harfbuzz prior to m-c moving to Aurora. That'd complete Cham support for Firefox v21.
| Assignee | ||
Comment 12•13 years ago
|
||
To fix the remaining Cham shaping issue, we should cherry-pick this from upstream harfbuzz. I don't want to take a full HB update right now, as there has been extensive work on default-invisibles that potentially affects all scripts, so I'd like that to have some more testing/stabilization time, but this is a simple fix specific to the SEAsian shaper, used only for a few lesser-known scripts, and cannot affect anything else. As such, it would be good to include it with the SEAsian shaper already landed for FF21 in bug 841313.
Attachment #715084 -
Flags: review?(jdaggett)
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → jfkthame
Updated•13 years ago
|
Attachment #715084 -
Flags: review?(jdaggett) → review+
| Assignee | ||
Comment 13•13 years ago
|
||
Target Milestone: --- → mozilla21
Comment 14•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Keywords: testcase-wanted
You need to log in
before you can comment on or make changes to this bug.
Description
•