pdftract/crates/pdftract-libpdftract
jedarden 7429a67d08 feat(pdftract-juc): implement Standard 14 font metrics registry
- Add build.rs that generates compile-time std14 metrics from JSON
- Add std14.rs module with Std14Metrics struct and get_std14_metrics()
- Add build/std14-metrics.json with AFM-derived widths for all 14 fonts
- Re-export Std14Metrics, NamedEncoding, get_std14_metrics in lib.rs

Acceptance criteria:
- All 14 Standard fonts (Courier, Helvetica, Times, Symbol, ZapfDingbats
  and their variants) return valid metrics from the registry
- Subset-prefixed names (ABCDEF+Helvetica) resolve via strip_subset_prefix()
- Width tables match Adobe AFM data within rounding tolerance
- Binary footprint < 60 KB (generated source: 20 KB, actual data ~8 KB)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 14:04:02 -04:00
..
distribution test(pdftract-1eaxm): add distribution templates and C conformance tests 2026-05-23 09:20:22 -04:00
include feat(pdftract-juc): implement Standard 14 font metrics registry 2026-05-23 14:04:02 -04:00
src feat(pdftract-bf-2y2rp): implement lazy stream decoding for PDF extraction 2026-05-23 12:30:26 -04:00
tests feat(pdftract-bf-2y2rp): implement lazy stream decoding for PDF extraction 2026-05-23 12:30:26 -04:00
build.rs test(pdftract-5ya9x): update memory roundtrip test to 10,000 iterations 2026-05-23 08:13:31 -04:00
Cargo.toml test(pdftract-5ya9x): update memory roundtrip test to 10,000 iterations 2026-05-23 08:13:31 -04:00
cbindgen.toml feat(pdftract-1eaxm): implement libpdftract C FFI library 2026-05-23 08:55:12 -04:00
pdftract.pc.in feat(pdftract-1eaxm): implement libpdftract C FFI library 2026-05-23 08:55:12 -04:00