pdftract/crates/pdftract-core/src/layout
jedarden 01d7442c0f fix(correction): add Ligature::Ff to skip pattern and improve mojibake tests
- Add Ligature::Ff to the skip_next pattern in repair_split_ligatures
- Update mojibake test patterns to use readable Unicode escape sequences
- Fix NBSP test to use correct UTF-8 byte sequences
- Simplify multiple mojibake test to focus on accented character repair
- Update ligature test with more realistic scenario and complete glyph sequence

This fixes the handling of 'ff' ligatures that appear as f<U+FFFD>f in
split ligature scenarios, ensuring the second 'f' is properly skipped
during reconstruction.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-08 10:34:06 -04:00
..
caption.rs feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
code.rs feat(pdftract-8n270): implement code block detection 2026-05-24 10:04:22 -04:00
columns.rs feat(pdftract-4k1x4): complete Phase 4 Text Assembly and Layout 2026-06-08 09:09:37 -04:00
correction.rs fix(correction): add Ligature::Ff to skip pattern and improve mojibake tests 2026-06-08 10:34:06 -04:00
figure.rs fix(bf-4mkhv): clean up unused imports in hash.rs 2026-06-01 09:43:48 -04:00
header_footer.rs feat(pdftract-1ofnz): implement detect_line_direction with unicode-bidi 2026-05-28 00:33:49 -04:00
line.rs fix(pdftract-39gey): fix indent trigger to not split drop-cap paragraphs 2026-06-07 13:43:19 -04:00
list.rs test(pdftract-4brcu): Fix list classification test expectations 2026-06-06 23:34:16 -04:00
mod.rs fix(pdftract-39gey): fix indent trigger to not split drop-cap paragraphs 2026-06-07 13:43:19 -04:00
readability.rs feat(pdftract-4k1x4): complete Phase 4 Text Assembly and Layout 2026-06-08 09:09:37 -04:00
reading_order.rs fix(pdftract-2uk9z): wrap native module results in typed Python objects 2026-05-28 21:18:38 -04:00
watermark_formula.rs fix(pdftract-3jekw): fix watermark_formula test type annotations 2026-05-27 23:37:15 -04:00
wordlist.rs fix: resolve compilation errors across codebase 2026-05-25 08:38:04 -04:00