Source code
Revision control
Copy as Markdown
Other Tools
[package]
name = "skrifa"
version = "0.44.0"
description = "Metadata reader and glyph scaler for OpenType fonts."
readme = "README.md"
categories = ["text-processing", "parsing", "graphics"]
rust-version.workspace = true
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 = ["std", "autohint_shaping"]
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
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"
kurbo.workspace = true