Closed Bug 376299 Opened 18 years ago Closed 18 years ago

Assertion loading page with certain Arabic characters standing alone

Categories

(Core :: Graphics, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: roc, Assigned: roc)

References

()

Details

Attachments

(1 file)

Attached patch fix (deleted) — Splinter Review
We assert loading that page. The reason is that Windows tells us that fCharPos is false for the first character in a text run, i.e., it's telling us the first character is inside a cluster. We can't handle that because for our purposes clusters must not span text runs. The fix is to always treat the first character as the start of a cluster. Note that with the new textframe, textruns can span text node boundaries so this will be an issue less often, but it can still happen if someone puts a random Arabic character in its own paragraph or in a span with its own font.
Attachment #260397 - Flags: review?(pavlov)
Attachment #260397 - Flags: review?(pavlov) → review+
checked in.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: