ufo_sources

class fontbakery.profiles.ufo_sources.UFOProfile(sections=None, iterargs=None, derived_iterables=None, conditions=None, aliases=None, expected_values=None, default_section=None, check_skip_filter=None, profile_tag=None)[source][source]
setup_argparse(argument_parser)[source][source]

Set up custom arguments needed for this profile.

Check that recommended fields are present in the UFO fontinfo.

Rationale:

This includes fields that should be in any production font.

com.daltonmaag/check/ufo-required-fields[source][source]

Check that required fields are present in the UFO fontinfo.

Rationale:

ufo2ft requires these info fields to compile a font binary: unitsPerEm, ascender, descender, xHeight, capHeight and familyName.

com.daltonmaag/check/ufolint[source][source]

Run ufolint on UFO source directory.

com.daltonmaag/check/ufo-unnecessary-fields[source][source]

Check that no unnecessary fields are present in the UFO fontinfo.

Rationale:

ufo2ft will generate these.

openTypeOS2UnicodeRanges and openTypeOS2CodePageRanges are exempted because it is useful to toggle a range when not _all_ the glyphs in that region are present.

year is deprecated since UFO v2.

FontBakeryCondition fontbakery.profiles.ufo_sources.ufo_font[source][source]
force = False[source]