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.

Disable checksum-checking

See original GitHub issue

In sfnt.py, the SFNTReader constructor defaults to checkChecksums=1. I suggest we default to off.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
behdadcommented, Sep 10, 2020

If it’s only the desire to remedy the logic dissonance of the different defaults between TTFont and SFNTReader, then I am not sure this is really worth it, considering this has been like this for more than 20 years and nobody ever complained.

I’m pushing towards deprecating checksums in SFNT and that’s why I opened this as well.

0reactions
twardochcommented, Sep 10, 2020

I think fontTools is now used in some high-production-volume places, kind of as a font “renderer” (unlike years ago where it was used in single fonts by human users), so any performance improvement in the default config might be useful.

On Thu, 10 Sep 2020 at 19:16, Behdad Esfahbod notifications@github.com wrote:

If it’s only the desire to remedy the logic dissonance of the different defaults between TTFont and SFNTReader, then I am not sure this is really worth it, considering this has been like this for more than 20 years and nobody ever complained.

I’m pushing towards deprecating checksums in SFNT and that’s why I opened this as well.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fonttools/fonttools/issues/2057#issuecomment-690531004, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD6XRBT7AB7GTGSLRO2RQTSFECV5ANCNFSM4Q6XM3NQ .

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Disable UDP Checksum Validation in Linux
In this post, I'll describe how to set up a Linux machine to ignore UDP checksums in received packets. The mentioned steps may...
Read more >
Disabling checksum validation in Wireshark - PacketLife.net
Fortunately, there is a more appropriate solution: disable checksum validation in Wireshark. This can be accomplished by navigating to Edit ...
Read more >
Disabling IP Checksum Check
To clear the disable hardware IP checksum check on, for example, port range 13 through 24, enter the following command. device# no disable-hw-ip ......
Read more >
Disabling IP checksum check
The disable-hw-ip-checksum-check command traps a packet with bad checksum to the CPU. Previously, if the packet processor detected a packet with, ...
Read more >
Disabling Packet Checksum Validation
To disable, select the Disable Packet checksum validation check box in the Interface tab. As an alternative, you can enable packet checksum validation...
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