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-ttf.py: "Font contains magic code in PREP table?"

See original GitHub issue

Hello,

We have magiccode = "\xb8\x01\xff\x85\xb0\x04\x8d", I’m assuming this is something ttfautohint inserts or why is this needed?

My fonts which have been run through ttfautohint all fail this test.

Cheers, Marc

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
anthrotypecommented, Sep 8, 2016

it’s a minimal PREP table for enabling dropout control, useful to improving rendering for unhinted TTFs:

See @davelab6 comment at: https://github.com/googlefonts/fontbakery/issues/890#issuecomment-236450011

and my comment here: https://github.com/googlefonts/fontbakery/issues/890#issuecomment-236457209

0reactions
felipesanchescommented, Sep 8, 2016

cool, thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Prep Table - TrueType Reference Manual - Apple Developer
The 'prep' table stores the instructions that make up the control value program, a set of TrueType instructions that will be executed once...
Read more >
fonttools · PyPI
fontTools is a library for manipulating fonts, written in Python. The project includes the TTX tool, that can convert TrueType and OpenType fonts...
Read more >
How OpenType Works - Simon Cozens technical blog
The core of the fonttools package is a library, some code which helps Python programmers to ... First, let's list what tables we...
Read more >
FontDrop!
Simple and easy way to view the content of font files.
Read more >
Text — Ren'Py Documentation
The backslash character is used to introduce when writing a Ren'Py or Python string. Some common escape codes are: \" (backslash-doublequote): Includes a ......
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