Skip to content

Take the reader that salvages, decrypts /Crypt and answers the same twice - #3

Merged
tannevaled merged 1 commit into
mainfrom
deps/current-fleet
Aug 27, 2026
Merged

Take the reader that salvages, decrypts /Crypt and answers the same twice#3
tannevaled merged 1 commit into
mainfrom
deps/current-fleet

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

reader v0.6.0 brings three things this module was doing without:

/Crypt 209 files — 12.8% of the 1 633 real forms — carry the filter,
and every one of them used to decode to nothing readable.
determinism a second map-order non-determinism, in indexObjectStreams,
distinct from the inline-image one v0.4.2 settled: five
answers in five runs of the same binary on the same file.
salvage a damaged stream's decoded prefix is kept and labelled as
salvage, instead of being returned with a nil error as though
it were the whole of it.

Nothing in this module's own output changes; the tests say so. It is taken
because a module lagging its own dependency is how pdffont shipped the
21-second reader.Open to its callers for a whole release, and the fix for that
is to stop lagging rather than to remember not to.

…same twice

reader v0.6.0 brings three things this module was doing without:

  /Crypt        209 files — 12.8% of the 1 633 real forms — carry the filter,
                and every one of them used to decode to nothing readable.
  determinism   a second map-order non-determinism, in indexObjectStreams,
                distinct from the inline-image one v0.4.2 settled: five
                answers in five runs of the same binary on the same file.
  salvage       a damaged stream's decoded prefix is kept and labelled as
                salvage, instead of being returned with a nil error as though
                it were the whole of it.

Nothing in this module's own output changes; the tests say so. It is taken
because a module lagging its own dependency is how pdffont shipped the
21-second reader.Open to its callers for a whole release, and the fix for that
is to stop lagging rather than to remember not to.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@tannevaled
tannevaled merged commit f6a1a64 into main Aug 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant