fontbakery: Check 028: Check fails when OFL.txt is present

Observed behaviour

Run fontbakery from the root directory of a font repo containing an OFL.txt file and this test will fail.

Expected behaviour

If valid OFL.txt file is in repo root directory, the test should pass.

Resources and exact process needed to replicate

Version: 0.5.2.dev18+gcff658dd

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 24 (3 by maintainers)

Commits related to this issue

Most upvoted comments

From an email earlier today.

And some of the test fail cases does not make sense. eg: Check font has a license , There is a LICENSE.txt in repo with OFL. But test fails.

Checking pwd, same path as each font file, if they are not in pwd and deduplicated, and git rev-parse --show-toplevel (if it returns something) seems sufficient to me

Can we start by only accepting the first .. if the current dir is called fonts ?