mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-10 13:01:29 +00:00
Review follow-up on #2539: - the glyph end includes character and word spacing, so letter-spaced redacted text is one word and still matches /Title (Bluefin); - an XMP value wholly part of a removed run goes, as an /Info value does (J. Li), compared as whole words (True stays with "untrue"); - when the removed text was cut short (too many runs, a run too long, too many terms) every /Info string and XMP stream goes instead of searching what was kept; - XMP that is not valid UTF-8 or UTF-16 (also UTF-16 without a leading mark) is not searched lossily but removed; - namespace declarations and the xpacket wrapper are not searched; comments and other processing instructions are; - the raw-byte assertion saves without object streams so it can see /Info. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>