Weight ladder 300 to 700 with masters at 350 and 450

RI
2d ago
+103403-291

What changed

Warp gets a variable weight axis from 300 to 700, for Roman and Italic. Each slope has seven masters at 300, 350, 400, 450, 500, 600 and 700, built from one point-compatible outline per glyph (warp/tools/vf_ladder.py). The masters at 350 and 450 keep the interpolation error between the named weights under the limit. The default build still emits the six released styles, and the variable fonts are an extra build; no font file is added to the repository.

The interpolation check now resolves a reported composite glyph in every master and keeps its contour order. That took the findings from 770 to 0 and the start-point findings to 0.

Proof

CheckResultLimit
Named instances against the static fonts (300, 400, 500, 600, 700)at most 0.547 units1.0
Raster difference at 350, 450, 550, 6502.7 to 3.4 percent5 percent
Raster difference at the other midpoints (325, 375, 425, 475)at most 4.990 percent5 percent
Interpolation findings770 before, 0 after0
Start-point findings00
Glyphs compatible across all masters890 of 890, 14 sourcesall
warp/tests130 passed, including the hash test of the default buildall pass
Fontspector, Roman0 ERROR, 0 FATAL, 1 FAIL0 FAIL
Fontspector, Italic0 ERROR, 0 FATAL, 1 FAIL0 FAIL

Open: file size

The one FAIL of each font is the file-size check: 11.35 MB for Roman and 12.51 MB for Italic, against a limit of 9.44 MB. The variation table is 83 percent of the Roman file. proofs/warp/ladder.json therefore says "verdict": "not verified", and the weight-ladder work is not complete until both fonts are under the limit with the same masters and limits. That work follows in a separate pull request. No limit was raised in this one.

Summary by CodeRabbit

  • New Features

    • Added support for generating Roman and Italic text styles across weights from 300 to 700, including named weights and intermediate-weight interpolation.
    • Added tools for checking outline compatibility and variable-font behavior across the weight range, with reports and proof sheets.
  • Documentation

    • Updated project guidance with weight interpolation, compatibility, raster testing, and font naming details.
    • Added reports covering weight-ladder compatibility, interpolation, and font inspection results.