FAILURE MAP
← Case archive

FA-80174 / Typography line breaking / Member archive

Kerning and ligature line measure: interword space count · case 04

Every line measures one space too wide.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Input [words, width]. Glyph widths: i,l,j,.,, 4; t,f 6; m 15; w 14; M 16; W 18; other lowercase 10; other uppercase 13; space 5. Within a word, fi/fl/ff form ligatures (11/11/12) with no kerning into or out of them; case-sensitive kern pairs apply between adjacent glyphs; "|" is a non-joiner (invisible, blocks ligatures and kerning). No kerning across spaces. Greedy fill. Return [[text, width]].

Why this case matters

Line breaking decides where paragraphs wrap on screen and in print; a wrong decision point shifts every following line.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
regression: interword space count[["staff.", 47], ["AVAIL", 64], ["LA", 31], ["LAVALLE", 93]][["staff.", 42], ["AVAIL", 59], ["LA", 26], ["LAVALLE", 88]]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗