#cff #font #parser #file #data #type #part

nipdf-cff-parser

A library that parses CFF files, part of nipdf library

2 releases

new 0.1.1 Feb 20, 2025
0.1.0 Feb 17, 2025

#1204 in Rust patterns

Download history 71/week @ 2025-02-12

71 downloads per month
Used in 3 crates (via nipdf)

MIT license

6MB
8K SLoC

Decode Adobe CFF font files.

The entry type is File, use File::open() method to parses a CFF file and returns File

File is a struct that contains all the data in a CFF file. derived types borrows data hold by File.

File::fonts() returns a iterator of Font which is a struct that provides info for that font, such as encoding, charset, etc.

Dependencies