googlefonts / googlefonts/fontations
[read]: for tables with a known `format` field, parsing should fail on mismatch
Open
codegen
- Dominant language
- Rust
- Stars
- 826
- Forks
- 75
- Avg merge
- 22h 33m
- Merged PRs (30d)
- 75
Description
> Thinking about this more, though, I think we should be doing more: I think that for any table with a defined format we should actually be checking the format at parse time and returning an error if it isn't the expected value; this would mostly be future-proofing.
_Originally posted by @cmyr in https://github.com/googlefonts/fontations/pull/949#discussion_r1635032627_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.