pdftract/crates
jedarden 8bc63ac8b3 feat(pdftract-56vwd): implement build_x0_histogram for column detection
- Add build_x0_histogram() function for 1pt-resolution x0 histogram
- Add HasBBox trait for generic bbox access
- Implement for [f32; 4] and [f64; 4] types
- Clamp out-of-bounds x0 values with diagnostics
- Add 7 tests covering single/multiple spans, clamping, rounding, A4 pages

Acceptance criteria PASS:
- Single span at x0=100: hist[100] == 1
- Multiple spans: hist[100]==2, hist[200]==2, hist[300]==1
- Negative x0 clamped to hist[0] with diagnostic
- Empty spans returns zero Vec

Closes: pdftract-56vwd
2026-05-25 11:59:27 -04:00
..
pdftract-cer-diff docs(pdftract-aawrz): add LICENSE-MIT and LICENSE-APACHE files 2026-05-23 10:36:28 -04:00
pdftract-cli feat(pdftract-5bzpg): implement pdftract-grep-1000 CI benchmark skeleton 2026-05-25 08:53:23 -04:00
pdftract-core feat(pdftract-56vwd): implement build_x0_histogram for column detection 2026-05-25 11:59:27 -04:00
pdftract-libpdftract feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
pdftract-py feat(pdftract-3j2u): implement 50 MB size limit + base64 encoding for attachments 2026-05-25 11:42:28 -04:00