FAILURE MAP
← Case archive

FA-80159 / Typography line breaking / Member archive

Kerning and ligature line measure: kerning across spaces · case 04

Lines measure narrower when a word ends and the next begins with a kern pair.

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: kerning across spaces[["shelflife", 64], ["AVAIL Ta", 82]][["shelflife", 64], ["AVAIL Ta", 85]]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 ↗