Fontbakery: Add `check-cjk` CJK font quality assurance profile

Created on 24 Jul 2019  路  7Comments  路  Source: googlefonts/fontbakery

It would be helpful to include a profile that has CJK-specific QA checks in the fontbakery project.

This would allow developers of CJK typefaces to run:

fontbakery check-cjk [CJK FONT PATH]

in order to execute the entire panel of tests that are intended for CJK fonts.

Most helpful comment

here's an example:

Screenshot at 2019-07-25 14:33:16

Screenshot at 2019-07-25 14:32:45

All 7 comments

Is it possible to define one or more tests that execute before all other tests in a profile and abort the remaining tests if it(they) fail? I would like to define a "is this a CJK font?" style check on the font file prior to the QA checks.

you can create a condition and declare it on all checks that depend on it. If the condition is False we skip the check.

Let me check the docs / other profiles to see how I do that. Thanks Felipe!

here's an example:

Screenshot at 2019-07-25 14:33:16

Screenshot at 2019-07-25 14:32:45

If the condition is not met for a given check, is the test result a SKIP?

exactly!

Was this page helpful?
0 / 5 - 0 ratings