Closed
Bug 387653
Opened 17 years ago
Closed 17 years ago
Combining characters positioned wrongly in RTL text
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: smontagu, Assigned: smontagu)
References
(Blocks 1 open bug, )
Details
(Keywords: rtl)
Attachments
(1 file)
1.49 KB,
patch
|
vlad
:
review+
|
Details | Diff | Splinter Review |
This is the main reason that reftests/bidi/bidi004.html and reftests/bidi/bidi004-j.html are failing on Linux. I'm making it a separate bug blocking bug 386567 rather than attaching the patch there, because there are some other minor issues with positioning that mean that the test still fails even with this fixed.
Assignee | ||
Comment 1•17 years ago
|
||
Assignee: nobody → smontagu
Status: NEW → ASSIGNED
Assignee | ||
Updated•17 years ago
|
Attachment #271805 -
Flags: review?(vladimir)
Attachment #271805 -
Flags: review?(vladimir) → review+
Assignee | ||
Comment 2•17 years ago
|
||
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•17 years ago
|
Flags: in-testsuite?
Assignee | ||
Comment 4•17 years ago
|
||
The reftest isn't great: it fails on both Windows and Mac, and may start to fail on Linux (or pass on the other platforms) if the default font changes.
Comment 5•17 years ago
|
||
Interesting...
This relies on the order of glyphs for within each cluster being in reverse-logical order for RTL text. This is contrary to Pango documentation but consistent with pango_ot_buffer_output().
See bug 375864 comment 6.
(Fortunately?) Hangul seems to work OK because, with ttf-alee, there is only one glyph per cluster.
Comment 6•17 years ago
|
||
(In reply to comment #4)
> The reftest isn't great: it fails on both Windows and Mac, and may start to
> fail on Linux (or pass on the other platforms) if the default font changes.
This bug's reftest (mozilla/layout/reftests/bidi/387653.html) has been failing for clean builds on my Ubuntu Linux box for a while now. (not sure how long, but at least a month, I think)
From comment #4, it sounds like this failure was somewhat expected, though... should the test be edited / removed?
Here are data-urls for what I'm seeing:
test: http://tinyurl.com/3avo8n
reference: http://tinyurl.com/22rvbq
Assignee | ||
Comment 7•17 years ago
|
||
I would be OK with removing the test if it's causing problems. layout/reftests/bidi/bidi-006.html is a better test that covers the same issue.
Comment 8•17 years ago
|
||
Would it be better to remove the test altogether, or to mark it "random" in the manifest?
Assignee | ||
Comment 9•17 years ago
|
||
I removed it.
Comment 10•17 years ago
|
||
Mass-assigning the new rtl keyword to RTL-related (see bug 349193).
Keywords: rtl
You need to log in
before you can comment on or make changes to this bug.
Description
•