[package]
name = "ab_glyph"
version = "0.2.29"
authors = ["Alex Butler <alexheretic@gmail.com>"]
edition = "2021"
description = "API for loading, scaling, positioning and rasterizing OpenType font glyphs."
repository = "https://github.com/alexheretic/ab-glyph"
keywords = ["text", "ttf", "truetype", "otf", "opentype"]
license = "Apache-2.0"
readme = "README.md"
[dependencies]
owned_ttf_parser = { version = "0.25", default-features = false }
ab_glyph_rasterizer = { version = "0.1.2", path = "../rasterizer", default-features = false }
libm = { version = "0.2.1", optional = true }
[dev-dependencies]
[features]
default = ["std", "variable-fonts"]
std = ["owned_ttf_parser/default", "ab_glyph_rasterizer/default"]
libm = ["dep:libm", "ab_glyph_rasterizer/libm", "owned_ttf_parser/no-std-float"]
variable-fonts = ["owned_ttf_parser/variable-fonts"]