6 releases

0.1.5 Mar 21, 2022
0.1.4 Mar 2, 2022
0.1.3 Dec 1, 2021
0.1.2 Aug 12, 2021

#1240 in Text processing

Download history 205/week @ 2024-03-13 1019/week @ 2024-03-20 1090/week @ 2024-03-27 416/week @ 2024-04-03 577/week @ 2024-04-10 709/week @ 2024-04-17 529/week @ 2024-04-24 236/week @ 2024-05-01 238/week @ 2024-05-08 267/week @ 2024-05-15 360/week @ 2024-05-22 214/week @ 2024-05-29 245/week @ 2024-06-05 252/week @ 2024-06-12 321/week @ 2024-06-19 384/week @ 2024-06-26

1,230 downloads per month
Used in 19 crates (2 directly)


6.5K SLoC


Fast, high-fidelity OpenType parser.

Crates.io Docs.rs MIT licensed Apache licensed

This crate is a work in progress, but aims to parse OpenType fonts with a level of detail that is amenable to modeling, analysis and transformation. The current focus is specifically on OpenType layout and the crate provides comprehensive coverage of that portion of the specification along with strong support for variations and the core header tables. There are still a lot of missing bits to cover the full specification.

The long term (and perhaps overly ambitious) goal is a community collaboration on a set of crates that can do for font tooling what LLVM has done for compiler tooling. Specifically, there is a desire to build a generic font model abstraction (in some other crate) that is somewhat akin to LLVM IR and allows for analysis, transformations and optimization. With importers from various formats (OpenType, UFO, Glyphs, ..) and exporters for others (OpenType, OpenType-Next?) the idea is to support current font development pipelines while allowing exploration for future progress.

No runtime deps