os2

com.adobe.fonts/check/family/bold_italic_unique_for_nameid1[source][source]

Check that OS/2.fsSelection bold & italic settings are unique for each NameID1

Rationale:

Per the OpenType spec: name ID 1 ‘is used in combination with Font Subfamily name (name ID 2), and should be shared among at most four fonts that differ only in weight or style.

This four-way distinction should also be reflected in the OS/2.fsSelection field, using bits 0 and 5.

com.adobe.fonts/check/fsselection_matches_macstyle[source][source]

Check if OS/2 fsSelection matches head macStyle bold and italic bits.

Rationale:

The bold and italic bits in OS/2.fsSelection must match the bold and italic bits in head.macStyle per the OpenType spec.

com.google.fonts/check/code_pages[source][source]

Check code page character ranges

Rationale:

At least some programs (such as Word and Sublime Text) under Windows 7 do not recognize fonts unless code page bits are properly set on the ulCodePageRange1 (and/or ulCodePageRange2) fields of the OS/2 table.

More specifically, the fonts are selectable in the font menu, but whichever Windows API these applications use considers them unsuitable for any character set, so anything set in these fonts is rendered with Arial as a fallback font.

This check currently does not identify which code pages should be set. Auto-detecting coverage is not trivial since the OpenType specification leaves the interpretation of whether a given code page is “functional” or not open to the font developer to decide.

So here we simply detect as a FAIL when a given font has no code page declared at all.

com.google.fonts/check/family/panose_familytype[source][source]

Fonts have consistent PANOSE family type?

Legacy check originally simply called ‘check/010’. We used to lack richer metadata back in 2015. We’re open to further improvements to this description.

com.google.fonts/check/family/panose_proportion[source][source]

Fonts have consistent PANOSE proportion?

Legacy check originally simply called ‘check/009’. We used to lack richer metadata back in 2015. We’re open to further improvements to this description.

com.google.fonts/check/fsselection[source][source]

Checking OS/2 fsSelection value.

Legacy check originally simply called ‘check/129’. We used to lack richer metadata back in 2015. We’re open to further improvements to this description.

com.google.fonts/check/xavgcharwidth[source][source]

Check if OS/2 xAvgCharWidth is correct.

Legacy check originally simply called ‘check/034’. We used to lack richer metadata back in 2015. We’re open to further improvements to this description.

com.thetypefounders/check/vendor_id[source][source]

Checking OS/2 achVendID against configuration.

Rationale:

When a font project’s Vendor ID is specified explicitly on FontBakery’s configuration file, all binaries must have a matching vendor identifier value in the OS/2 table.