Files
pdfcraft/crates
vangel76andClaude Sonnet 5.5 8bdd2d3750 fix(cos): read the dictionary's syntax before the object-stream pre-check
The pre-check cut the dictionary at the next object header or at a
'>>' + 'stream' byte pattern, so text inside a string could hide a later
/Type /ObjStm. It now reads the dictionary as the parser does (strings,
hex strings, comments, nesting) and treats an object whose end is not
certain as a candidate, so the reconstructed object set stays the same.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-27 19:46:44 +01:00
..
…