From 4ed083c13afa41a7eed0e7263cfda6d933bfdcbc Mon Sep 17 00:00:00 2001 From: tannevaled Date: Thu, 27 Aug 2026 15:42:41 +0200 Subject: [PATCH] Take the reader that decodes a fax, which changes nothing here reader v0.4.2 -> v0.5.0, which decodes /CCITTFaxDecode. This changes nothing this package produces, and the number is the point of saying so: every one of the 2 268 forms in /Users/Shared/pdfforms was read with both versions -- the whole field tree, every field's value and text and flags, the appearance the file already carries for each of its widgets, and a freshly drawn appearance for each of the 88 168 fillable text fields among the 1 633 real documents -- and the output is byte for byte identical in all 2 268. Both binaries verified with `go version -m`. A form does not carry its own scans, so there was nothing here for a fax decoder to change. It is taken because this package resolves reader alongside four siblings that do need it, and a module of this family lagging its own dependency is how a defect gets shipped twice. --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 5b37eb2..ab9f9ca 100644 --- a/go.mod +++ b/go.mod @@ -6,5 +6,5 @@ require ( github.com/go-opentype/fonts v0.9.0 github.com/go-opentype/opentype v0.9.0 github.com/go-pdfkit/pdffont v0.3.0 - github.com/go-pdfkit/reader v0.4.2 + github.com/go-pdfkit/reader v0.5.0 ) diff --git a/go.sum b/go.sum index 588ff3e..c269b18 100644 --- a/go.sum +++ b/go.sum @@ -4,5 +4,5 @@ github.com/go-opentype/opentype v0.9.0 h1:GFgcJ3nwTDp4NJr5O+Paw7lhZx5Jv/R+noZwvh github.com/go-opentype/opentype v0.9.0/go.mod h1:AOixevJf7XQaH7+WG+OMIOZEbYPXfMqklVk26Y6YTUU= github.com/go-pdfkit/pdffont v0.3.0 h1:G5DKcAmsZJ0e17QhSrcUaL7PKEXKjUx4P/iGMl7bAbI= github.com/go-pdfkit/pdffont v0.3.0/go.mod h1:bfmNLna1l1CljNX/Utg55YzFylovfmI7sJnvgA3bzKI= -github.com/go-pdfkit/reader v0.4.2 h1:0/qPShLzdG/roH4i13dwDTHnS7mEBVTaCBGwCZQhOH0= -github.com/go-pdfkit/reader v0.4.2/go.mod h1:fQFOVfCMUui1AdvD4qhimdyvvNr9KvvJ1S7IuKZjyV8= +github.com/go-pdfkit/reader v0.5.0 h1:DaJ5C6eKXPRG9Cdu+olA/0KLmsQgyHEC1coteQQuBxU= +github.com/go-pdfkit/reader v0.5.0/go.mod h1:fQFOVfCMUui1AdvD4qhimdyvvNr9KvvJ1S7IuKZjyV8=