mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-09 04:22:20 +00:00
Marking a tag as an artifact, or a figure as decorative, refused content after a stream damaged partway, placing each operator by its first operand. A page may split its content between an operator's operands and its keyword. When a `BDC`'s operands end the stream before one damaged from its start, or one that doesn't decode, the keyword the page reads is in what wasn't read; joined without it, those operands and the next tag's read as one `BDC`, and marking rewrote the stream after the hidden one, the next tag's `BDC` taken out of it. An operator now counts after damage by its keyword, and one whose operands and keyword lie on either side of a stream not read whole is refused: that stream may end them itself. `a_tags_operands_before_a_stream_not_read_whole_are_not_rewritten` (damaged from its start, and not decoding). A tag entirely after a stream that doesn't decode is still marked: such a stream holds all of its content, between tokens. `accessibility_mark_tag_artifact`'s description names content a stream that doesn't decode may hide or change too, not only a damaged one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AmsdeUCdTaD72jkDw2pJKY