Files
pdfcraft/crates
Grzegorz MartensandClaude Opus 5.5 fd4b698c71 M7: a font's streams are read with /DecodeParms given by reference
A /CIDToGIDMap, CMap or program whose /DecodeParms are an indirect
object, or an array holding one, was decoded without them, as on main:
behind a PNG predictor its tag bytes stayed in, so the map read wrong
and the CMap or program not at all. Each of the five metrics reads and
the editor's program read now go through Document::with_direct_parms,
which shares the stream's data and copies its dictionary only when a
parameter is indirect.

Reads::decode's comment now says what the stage bound does: a stage may
make more than the stream's limit where a decode without an allowance
stops it, and a stream past its limit counts as refused when what is
left can't pay for its stages.

Found by the Legal forms review.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AmsdeUCdTaD72jkDw2pJKY
2026-11-04 22:29:04 +01:00
..
…
…
…
…
…
…
…
…