Skip to content

v0.2.2 — the reader that salvages, decrypts /Crypt and answers the same twice

Choose a tag to compare

@tannevaled tannevaled released this 27 Aug 18:41
· 19 commits to main since this release
f6a1a64

A dependency release, taken because a module lagging its own dependency is how pdffont shipped a 21-second reader.Open to its callers for a whole release.

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 different 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, and that was measured rather than assumed: over all 2 268 forms, the whole field tree, every widget's stored appearance and 88 159 freshly drawn appearances come back byte-identical.