New Upstream Snapshot - golang-github-phpdave11-gofpdi
Ready changes
Summary
Merged new upstream version: 1.0.13+git20211212.1.1f10f98+ds (was: 1.0.13).
Resulting package
Built on 2023-01-20T02:44 (took 2m26s)
The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:
apt install -t fresh-snapshots golang-github-phpdave11-gofpdi-dev
Lintian Result
- golang-github-phpdave11-gofpdi-dev_1.0.13+git20211212.1.1f10f98+ds-1~jan+nus3_all.deb
- golang-github-phpdave11-gofpdi_1.0.13+git20211212.1.1f10f98+ds-1~jan+nus3.dsc
- golang-github-phpdave11-gofpdi_1.0.13+git20211212.1.1f10f98+ds-1~jan+nus3_amd64.buildinfo
- golang-github-phpdave11-gofpdi_1.0.13+git20211212.1.1f10f98+ds-1~jan+nus3_amd64.changes
Diff
diff --git a/debian/changelog b/debian/changelog
index 056c72c..b0e821d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+golang-github-phpdave11-gofpdi (1.0.13+git20211212.1.1f10f98+ds-1) UNRELEASED; urgency=low
+
+ * New upstream snapshot.
+
+ -- Debian Janitor <janitor@jelmer.uk> Fri, 20 Jan 2023 02:42:41 -0000
+
golang-github-phpdave11-gofpdi (1.0.13-2) unstable; urgency=medium
[ Debian Janitor ]
diff --git a/writer.go b/writer.go
index f4d20b0..45b4cc0 100644
--- a/writer.go
+++ b/writer.go
@@ -7,9 +7,10 @@ import (
"crypto/sha1"
"encoding/hex"
"fmt"
- "github.com/pkg/errors"
"math"
"os"
+
+ "github.com/pkg/errors"
)
type PdfWriter struct {
@@ -227,7 +228,7 @@ func (this *PdfWriter) endObj() {
func (this *PdfWriter) shaOfInt(i int) string {
hasher := sha1.New()
- hasher.Write([]byte(fmt.Sprintf("%s-%s", i, this.r.sourceFile)))
+ hasher.Write([]byte(fmt.Sprintf("%d-%s", i, this.r.sourceFile)))
sha := hex.EncodeToString(hasher.Sum(nil))
return sha
}
@@ -323,9 +324,9 @@ func (this *PdfWriter) writeValue(value *PdfValue) {
case PDF_TYPE_BOOLEAN:
if value.Bool {
- this.straightOut("true")
+ this.straightOut("true ")
} else {
- this.straightOut("false")
+ this.straightOut("false ")
}
break
Debdiff
File lists identical (after any substitutions)
No differences were encountered in the control files