Cargo Features

[dependencies]
read-fonts = { version = "0.25.1", default-features = false, features = ["std", "scaler_test", "experimental_traverse", "spec_next", "serde", "libm"] }
std default experimental_traverse?

Enables std of font-types

Affects read-fonts::collections, read-fonts::test_helpers

codegen_test scaler_test
experimental_traverse = std

this feature is not stable, but provides untyped traversal of font tables.
we do not consider this feature public API for the purposes of semver.

Affects read-fonts::traversal

spec_next

Enables experimental implementations of proposed changes to the spec as discussed at https://github.com/harfbuzz/boring-expansion-spec

default = std

The std feature is set by default whenever read-fonts is added without default-features = false somewhere in the dependency tree.

serde

Enables serde, serde of font-types

libm

Enables core_maths