fontwerk

All vendor-specific profiles such as the fontwerk one also include the checks from the universal profile. Fontwerk also includes most checks from the googlefonts profile, except these:

def leave_this_one_out(checkid):
    CHECKS_NOT_TO_INCLUDE = [
        # don't run these checks on the Fontwerk profile:
        "com.google.fonts/check/canonical_filename",
        "com.google.fonts/check/vendor_id",
        "com.google.fonts/check/fstype",
        "com.google.fonts/check/gasp",
        "com.google.fonts/check/name/description_max_length",
        "com.google.fonts/check/metadata/includes_production_subsets",
        "com.google.fonts/check/font_copyright",
        "com.google.fonts/check/version_bump",
        "com.google.fonts/check/production_glyphs_similarity",
        "com.google.fonts/check/name/line_breaks",
        "com.google.fonts/check/fontdata_namecheck",
        "com.google.fonts/check/meta/script_lang_tags",
        # The following check they may need some improvements
        # before we decide to include it:
        "com.google.fonts/check/family/italics_have_roman_counterparts",
    ]

    if checkid in CHECKS_NOT_TO_INCLUDE:
        return True

Checks for Fontwerk <https://fontwerk.com/>

com.fontwerk/check/inconsistencies_between_fvar_stat[source][source]

Checking if STAT entries matches fvar and vice versa.

Rationale:

Check for inconsistencies in names and values between the fvar instances and STAT table. Inconsistencies may cause issues in apps like Adobe InDesign.

com.fontwerk/check/no_mac_entries[source][source]

Check if font has Mac name table entries (platform=1)

Rationale:

Mac name table entries are not needed anymore. Even Apple stopped producing name tables with platform 1. Please see for example the following system font:

/System/Library/Fonts/SFCompact.ttf

Also, Dave Opstad, who developed Apple’s TrueType specifications, told Olli Meier a couple years ago (as of January/2022) that these entries are outdated and should not be produced anymore.

com.fontwerk/check/style_linking[source][source]

Checking style linking entries

Rationale:

Look for possible style linking issues.

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

Checking OS/2 achVendID.

Rationale:

Vendor ID must be WERK for Fontwerk fonts.

com.fontwerk/check/weight_class_fvar[source][source]

Checking if OS/2 usWeightClass matches fvar.

Rationale:

According to Microsoft’s OT Spec the OS/2 usWeightClass should match the fvar default value.

fontbakery.profiles.fontwerk.is_covered_in_stat(ttFont, axis_tag, value)[source][source]
fontbakery.profiles.fontwerk.leave_this_one_out(checkid)[source][source]