Closed Bug 541277 Opened 12 years ago Closed 12 years ago

"ASSERTION: character/glyph clump contains no glyphs!"

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Assigned: jfkthame)

References

(Blocks 1 open bug)

Details

(4 keywords)

Attachments

(3 files)

###!!! ASSERTION: character/glyph clump contains no glyphs!: 'glyphStart < glyphEnd', file /Users/jruderman/mozilla-central/gfx/thebes/src/gfxCoreTextFonts.cpp, line 733

###!!! ASSERTION: character/glyph contains no characters!: 'charStart != charEnd', file /Users/jruderman/mozilla-central/gfx/thebes/src/gfxCoreTextFonts.cpp, line 734

This is either a recent regression in Gecko or a regression from the recent Snow Leopard security update.
Attached file testcase 2
The problem was a result of a hack in the Core Text code, intended to work around an issue with direction override codes (because Core Text deletes the glyphs corresponding to direction overrides, it can look as though those characters have formed ligatures).

A better solution than an ad-hoc index adjustment for that issue is to include spaces to separate the overrides from the "real" text content, as we used to do in the ATSUI code as well.
Assignee: nobody → jfkthame
Attachment #423633 - Flags: review?(roc)
Pushed http://hg.mozilla.org/mozilla-central/rev/263b6541c83f
including the testcases here as crashtests
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.