Skip to content

shaping__forbidden

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

Check that no forbidden glyphs are found while shaping

shaping/forbidden

  • 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 reports if any glyphs are generated in the shaping which should not be produced. (For example, .notdef glyphs, visible viramas, etc.)

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