Files
aiongg 69c87d2f3e Integration: #3195 keep CMap entries read before a stream ends inside a block
A begin… block cut off at the end of the stream returned None through ? and discarded the whole map; it now ends the scan like any other unparseable tail. Test: stream_cut_off_inside_a_block_keeps_the_entries_before_it.
2026-10-22 01:48:30 +00:00
..

hayro-cmap

Crates.io Documentation

A parser for cmap files, as they are found in PDFs.

This crate provides a parser for CMap files and allows you to

  • Map character codes from text-showing operators to CID identifiers.
  • Map CIDs to Unicode characters or strings.

Safety

This crate forbids unsafe code via a crate-level attribute.

License

Licensed under either of

at your option.