Closed
Bug 122800
Opened 23 years ago
Closed 22 years ago
We could not render plane 1 character correctly in right-to-left string
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: shanjian, Assigned: smontagu)
References
()
Details
Attachments
(2 files, 1 obsolete file)
5.21 KB,
text/html
|
Details | |
3.13 KB,
patch
|
mkaply
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
This is a leftover of bug 118000. After bug 119983 was resolved, plane 1 character
in the right-to-left string is still displayed as '?'.
How do we render right-to-left string? I once heard from ftang that we render
right-to-left string character by character. If that is the case, that is the
problem. We need to group a surrogate pair together.
Assignee | ||
Comment 1•23 years ago
|
||
The code to reverse strings takes surrogate pairs into account, but maybe there
is a problem with it. I'll look at it in a debugger.
Assignee | ||
Comment 2•23 years ago
|
||
The problem was in nsIUBidiUtils::SymmSwap, which wasn't 32-bit aware and was
stripping the high word.
Assignee | ||
Comment 3•23 years ago
|
||
ftang, can you review the patch?
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Comment 4•22 years ago
|
||
Hello? Any progress on this bug? Was just about to file a dupe...
Assignee | ||
Comment 5•22 years ago
|
||
Yes, let's get this in. I'll check that the patch hasn't rotted and rerequest
reviews.
Assignee | ||
Comment 6•22 years ago
|
||
Attachment #67309 -
Attachment is obsolete: true
Assignee | ||
Comment 7•22 years ago
|
||
Comment on attachment 106947 [details] [diff] [review]
Updated patch
I know that correct support for Etruscan is not a high priority, but I don't
like being broken on prominent Unicode sample pages.
Attachment #106947 -
Flags: review?(mkaply)
Assignee | ||
Updated•22 years ago
|
Comment 8•22 years ago
|
||
It is in those small details that the Master Browser will differ from the
inferior ones...
Comment 9•22 years ago
|
||
Btw, I hope the patch covers all platforms. Bug is certainly also present on Mac
OS X.
Assignee | ||
Comment 10•22 years ago
|
||
This patch should be totally cross platform. If the left-to-right texts
currently display correctly on OS X, then the right-to-left texts should display
correctly after this is checked in.
Comment 11•22 years ago
|
||
Comment on attachment 106947 [details] [diff] [review]
Updated patch
r=mkaply
Attachment #106947 -
Flags: review?(mkaply) → review+
Assignee | ||
Updated•22 years ago
|
Attachment #106947 -
Flags: superreview?(darin)
Comment 12•22 years ago
|
||
Comment on attachment 106947 [details] [diff] [review]
Updated patch
sr=darin
Attachment #106947 -
Flags: superreview?(darin) → superreview+
Assignee | ||
Comment 13•22 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Component: Layout: BiDi Hebrew & Arabic → Layout: Text
QA Contact: zach → layout.fonts-and-text
You need to log in
before you can comment on or make changes to this bug.
Description
•