Closed Bug 572620 Opened 14 years ago Closed 10 years ago

"ASSERTION: After-spacing inside a ligature!" with harfbuzz enabled

Categories

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

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

Attached file testcase
###!!! ASSERTION: After-spacing inside a ligature!: 'i - 1 <= aStart || aSpacing[i - 1 - aStart].mAfter == 0', file /builds/slave/mozilla-central-macosx-debug/build/gfx/thebes/src/gfxFont.cpp, line 2757

I think this is a recent regression.
> I think this is a recent regression.

er, only happens with gfx.font_rendering.harfbuzz.level set to 1.

Sorry, the keys are like right next to each other.
Blocks: 449292
Hmm, it's probably got something to do with how the harfbuzz back-end treats the "stray" combining mark without a base character; probably confuses our clustering. I'll look into it.
At least with harfbuzz we actually display the diacritic..... if I set harfbuzz.level to 0, it disappears from the output completely.
Summary: "ASSERTION: After-spacing inside a ligature!" → "ASSERTION: After-spacing inside a ligature!" with harfbuzz enabled
WFM on trunk.

By the way, the pref was removed in bug 1018034 after defaulting to 255 for a while.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: