Skip to content

z2d rejects font files with invalid checksums #180

Open

Description

@ypsvlq

z2d/src/Font.zig

Lines 170 to 172 in 3edb5d1

if (checksum != actual_checksum) {
return error.ChecksumMismatch;
}

This clearly should be the correct behaviour, but in practice many fonts (some widely used) do not have valid checksums as most tooling does not verify them. As such, it would be useful to have this not be an error or be able to override it.

This Firefox issue has more context: https://bugzilla.mozilla.org/show_bug.cgi?id=483459

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions