Cargo Features

TrueType has no features set by default.

[dependencies]
truetype = { version = "0.47.6", features = ["ignore-invalid-component-flags", "ignore-invalid-embedding-flags", "ignore-invalid-language-ids"] }
ignore-invalid-component-flags

https://github.com/google/fonts/issues/5551

ignore-invalid-embedding-flags

https://github.com/google/fonts/issues/5724

ignore-invalid-language-ids

https://github.com/google/fonts/issues/5805 https://github.com/web-platform-tests/wpt/issues/37713