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

#1113 in Text processing

Download history 250/week @ 2023-12-04 294/week @ 2023-12-11 559/week @ 2023-12-18 140/week @ 2023-12-25 129/week @ 2024-01-01 205/week @ 2024-01-08 142/week @ 2024-01-15 146/week @ 2024-01-22 353/week @ 2024-01-29 823/week @ 2024-02-05 435/week @ 2024-02-12 549/week @ 2024-02-19 624/week @ 2024-02-26 420/week @ 2024-03-04 356/week @ 2024-03-11 714/week @ 2024-03-18

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

MIT/Apache

275KB
6.5K SLoC

pinot

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