pdftract/crates
jedarden 7660cfc84c feat(bf-4zgpr): add unmapped_glyph_names config field to CMAP generator
Add unmapped_glyph_names configuration field to DifferencesOverlay struct,
which serves as the CMAP generator for Type1 font encoding differences.

Changes:
- Added unmapped_glyph_names: HashSet<String> field to DifferencesOverlay
- Added with_unmapped_glyph_names() constructor for custom configuration
- Added is_unmapped_glyph_name() instance method for checking membership
- Added unmapped_glyph_names() getter and set_unmapped_glyph_names() setter
- Updated parse() to use instance method instead of global function
- Defaults to global UNMAPPED_GLYPH_NAMES set when not explicitly configured

Acceptance criteria:
- CMAP generator struct has unmapped_glyph_names field
- Field is HashSet<String> for O(1) lookup efficiency
- Field can be set via constructor or setter method
- Code compiles and all tests pass (24 encoding tests)

Closes bf-4zgpr. See notes/bf-4zgpr.md for verification details.
2026-07-06 13:25:15 -04:00
..
pdftract-cer-diff test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
pdftract-cli test(bf-1or48): verify encryption test modules and fixtures 2026-07-06 12:48:29 -04:00
pdftract-core feat(bf-4zgpr): add unmapped_glyph_names config field to CMAP generator 2026-07-06 13:25:15 -04:00
pdftract-inspector-ui test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
pdftract-libpdftract feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
pdftract-py test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
pdftract-schema-migrate test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00