pdf-font
PDF font handling — Type1 and CFF parsing, CMap parsing, PostScript scanning, ToUnicode mapping, and Standard 14 font fallbacks.
This crate is part of the PDFluent commercial Rust PDF SDK.
Free for evaluation. Production use requires a valid license.
What it does
Provides the font-handling layer used by both rendering and text extraction: parses embedded Type 1 / CFF / TrueType fonts, resolves CMap tables and ToUnicode mappings, and supplies metric data for the Standard 14 base fonts when fonts are missing.
Status
Beta. Production-grade for common PDF font configurations. Coverage of edge-case CFF and Type 1 variants is being improved continuously.
Usage
Most users do not depend on this crate directly. Use the pdfluent facade or pdf-engine.
Origin
This crate was forked from hayro-font (with hayro-cmap and hayro-postscript merged in) by Laurenz Stampfl, and has been substantially extended. Original Apache-2.0/MIT contributions are attributed in THIRD_PARTY_LICENSES.txt; PDFluent extensions are governed by the PDFluent Commercial License.
Licensing
- Free for evaluation, development, and testing
- Production use requires a valid PDFluent commercial license
- Redistribution requires the OEM Redistribution add-on
See LICENSE for full terms, or visit https://pdfluent.com/terms.
Links
- Main crate: https://crates.io/crates/pdfluent
- Documentation: https://pdfluent.com/docs
- Trial: https://pdfluent.com/trial
- Pricing: https://pdfluent.com/pricing