Skip to content

shaping__regression

Simon Cozens edited this page May 8, 2025 · 1 revision

Check that texts shape as per expectation

shaping/regression

  • Applies to: TTF
  • Fontspector can hotfix?: no
  • Fontspector can fix sources?: no

Rationale

Fonts with complex layout rules can benefit from regression tests to ensure that the rules are behaving as designed. This checks runs a shaping test suite and compares expected shaping against actual shaping, reporting any differences.

Shaping test suites should be written by the font engineer and referenced in the FontBakery configuration file. For more information about write shaping test files and how to configure FontBakery to read the shaping test suites, see https://simoncozens.github.io/tdd-for-otl/

Proposal

Profiles

  • googlefonts (in section 'Shaping Checks')
Clone this wiki locally