[package] name = "skrifa" version = "0.26.2" description = "Metadata reader and glyph scaler for OpenType fonts." readme = "README.md" categories = ["text-processing", "parsing", "graphics"] edition.workspace = true license.workspace = true repository.workspace = true [package.metadata.docs.rs] # To build locally: # RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features all-features = true [features] default = ["autohint_shaping", "traversal"] std = ["read-fonts/std"] traversal = ["std", "read-fonts/experimental_traverse"] # Enables extended shaping support for the autohinter. Enabled by default. # This exists as a feature because shaping support is "best effort" and # we want the ability to disable it for testing against FreeType. autohint_shaping = [] # Enables experimental implementations of proposed changes to the spec # as discussed at https://github.com/harfbuzz/boring-expansion-spec spec_next = ["read-fonts/spec_next"] libm = ["dep:core_maths", "read-fonts/libm"] [dependencies] read-fonts = { workspace = true, default-features = false } core_maths = { workspace = true, optional = true } bytemuck = { workspace = true } [dev-dependencies] font-test-data = { workspace = true } read-fonts = { workspace = true, features = [ "scaler_test", "serde", ] } serde = "1.0" serde_json = "1.0" pretty_assertions = "1.3.0" write-fonts = { workspace = true } kurbo.workspace = true