pdftract/crates
jedarden 3973b5cc2f test(bf-5d2id): add unmapped glyph absence assertion to CMAP test
Add assertions to test_cmap_unmapped_glyph_skip to verify that unmapped
glyphs (configured in build/unmapped-glyph-names.json as g001-g003,
.notdef, .null) are absent from the CMAP output structure.

Changes:
- Add count verification: Ensures CMAP contains exactly the expected
  number of mappings, detecting spurious entries
- Add validity check: Iterates over all entries verifying valid Unicode
  destinations, with clear failure messages

Assertion messages identify which mapping should be absent via byte
sequence inspection, meeting the bead's acceptance criteria.

Verification: notes/bf-5d2id.md

Closes: bf-5d2id
2026-07-06 18:00:31 -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 feat(bf-okdnk): add CMAP output parsing and inspection 2026-07-06 17:54:13 -04:00
pdftract-core test(bf-5d2id): add unmapped glyph absence assertion to CMAP test 2026-07-06 18:00:31 -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