[package]
edition = "2024"
name = "pdf-font"
version = "1.0.0-beta.3"
authors = [
"PDFluent Contributors <team@pdfluent.com>",
"Laurenz Stampfl <laurenz.stampfl@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PDF font handling: CFF/Type1 parsing, CMap parsing, and PostScript scanning."
homepage = "https://pdfluent.com"
documentation = "https://pdfluent.com/docs"
readme = "README.md"
license-file = "LICENSE"
repository = "https://github.com/pdfluent"
resolver = "2"
[features]
default = [
"std",
"embed-cmaps",
]
embed-cmaps = [
"std",
"dep:brotli",
]
std = []
[lib]
name = "pdf_font"
path = "src/lib.rs"
[dependencies.brotli]
version = "8"
features = ["std"]
optional = true
default-features = false
[dependencies.log]
version = "0.4"
[dependencies.phf]
version = "0.13.1"
features = ["macros"]