Closed Bug 732443 Opened 8 years ago Closed 8 years ago

ClusterIterator doesn't iterate non-BMP cluster extenders (e.g. Ideographic Variation Selectors) correctly

Categories

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

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla13

People

(Reporter: emk, Assigned: jfkthame)

References

Details

(Keywords: regression)

Attachments

(1 file)

Steps to reproduce:
Iterate the following UTF-16 code units using ClusterIterator:
845b db40 dd01 98fe 533a
Actual result:
845b | db40 dd01 98fe | 533a
Expected result:
845b db40 dd01 | 98fe | 533a
I found this bug while debugging bug 543200.
You're right, the surrogate processing there was broken. I believe this version handles them correctly.
Assignee: nobody → jfkthame
Attachment #602402 - Flags: review?(VYV03354)
Blocks: 732330
Attachment #602402 - Flags: review?(VYV03354) → review+
FTR, this was also responsible for the crashiness noted in bug 732330.

https://hg.mozilla.org/integration/mozilla-inbound/rev/bfa4df617fca
Target Milestone: --- → mozilla13
https://hg.mozilla.org/mozilla-central/rev/bfa4df617fca
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.