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.

Check 044 is always an error

See original GitHub issue

Observed behaviour

Check 044 always produces this error:

   Checking font version fields (head and name table).
 * FAIL: head version is ('1', u'00099'), name version string for platform 1, encoding 0, is ('1', u'001') [code: mismatch]
 * FAIL: head version is ('1', u'00099'), name version string for platform 3, encoding 1, is ('1', u'001') [code: mismatch]

   Result: FAIL

It does this on a fresh, unedited font directly out of Glyphs. I think this output looks good.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:27 (25 by maintainers)

github_iconTop GitHub Comments

1reaction
chrissimpkinscommented, Aug 13, 2018

Here are pertinent comments from Peter Constable in the fonttools thread that Nikolaus linked above (https://github.com/fonttools/fonttools/issues/944#issuecomment-299973659):

The Fixed type has been problematic for versioning because of different interpretations for the fractional portion. In OT1.8, we changed all the instances we could to majorVersion/minorVersion uint16s. A few tables – maxp, post, vhea – were not amenable to this because of versions having been defined that would not work with that pattern.

The head.fontRevision field is another problematic case: I’ve seen fonts that handle the fractional portion in both ways. If you treat head.fontRevision as a floating value, then when reading an existing font you have to decide which interpretation to assume.

In these few remaining places where Fixed is used for versioning, I’d be inclined to treat the whole as a single, atomic value; or else treat it as two separate uint16s without trying to assume how to interpret the minor portion as a fraction.

1reaction
schriftgestaltcommented, Aug 13, 2018

(I’m out of office until later this week)

I read the whole thread but didn’t get the part where Glyphs does the wrong thing?

One thing I liked to suggest to change ttx to handle most of the 16.16 version fields as two 16bit major/minor fields. The float conversation is just to annoying.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix the Runtime Code 44 Kaspersky Error 44
Symptoms of Code 44 - Kaspersky Error 44 ... Runtime errors happen without warning. The error message can come up the screen anytime...
Read more >
Hulu Error Codes: What They Are and How to Fix Them
There are dozens of different Hulu error codes and Hulu error messages aren't always crystal clear in terms of explaining the problem.
Read more >
Payment Error Codes - ISN
CODE TEXT DESCIPTION I00001 Successful. The request was processed successfu... I00002 The subscription has already been canceled. The subscription has already been ca... I00003 The record...
Read more >
VSE/VSAM Return and Error Codes - IBM
Error Code Dec Error Code Hex Reg 15= Error Code Issued By 1 X'01' X'04' CBMM 2 X'02' Not zero CLOSE X'04' CBMM
Read more >
BMW CC-ID Error Codes | What Each Warning Message Means
We've broken the BMW CC-ID Error Codes into sections to help you find the codes even quicker ... Always check with a professional...
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