question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR: check/canonical_filename with MutatorSans-VF

See original GitHub issue

@justvanrossum reported at https://github.com/googlefonts/fontbakery/issues/3273#issuecomment-839572283 that the VF in MutatorSans-VF.ttf.zip errors on com.google.fonts/check/canonical_filename because “the name table doesn’t contain a required entry.”

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
felipesanchescommented, May 12, 2021

OK, I think this is better now, right, @justvanrossum? Now we actually FAIL in that specific case:

Screenshot from 2021-05-12 18-36-14

0reactions
graphicorecommented, May 12, 2021

You could have left the condition in the check, catch the Error and report it as a fail.

the second check would be something like: “FontBakery deduces the familyname of a variable font by inspecting the name table entries. This check ensures that the font provides all the info needed to compute that.”

Well, if it’s reasonable to do it this way, and the font fails to adhere to that scheme, it qualifies for another check, not?

I’m just looking at the check, it parses the font itself: ttFont = TTFont(font), so, there’s probably more refactoring that should be done.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I resolve a canonical filename in Windows?
Short answer: not really. There is no simple way to get the canonical name of a file on Windows. Local files can be...
Read more >
FIO16-J. Canonicalize path names before validating them
Canonicalizing file names makes it easier to validate a path name. ... Invalid file; handle error } FileInputStream fis = new FileInputStream(f); ...
Read more >
Blueprint Build System - Go Packages
Unpacks the properties into the Module. * Does not invoke load hooks or any mutators. The filename is only used for reporting errors....
Read more >
Add protobuf fuzzer support to OSS-Fuzz · Issue #864 - GitHub
/src/LPM/external.protobuf/include/google/protobuf/arenastring.h:177:57: error: unused parameter 'default_value' [-Werror ...
Read more >
apex/apex.go - platform/build/soong - android Git repositories
AndroidManifest *string `android:"path"`. // Canonical name of this APEX bundle. Used to determine the path to the activated APEX on.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found