Skip to content

opentype__xavgcharwidth

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

Checking OS/2 fsSelection value.

opentype/xavgcharwidth

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

Rationale

The OS/2.xAvgCharWidth field is used to calculate the width of a string of characters. It is the average width of all non-zero width glyphs in the font.

This check ensures that the value is correct. A failure here may indicate a bug in the font compiler, rather than something that the designer can do anything about.

Proposal

Profiles

  • opentype (in section 'Opentype Specification Checks')

  • universal (in section 'Opentype Specification Checks')

  • googlefonts (in section 'Opentype Specification Checks')

Clone this wiki locally