Skip to content

Commit

Permalink
Merge branch 'master' of github.com:tdewolff/canvas into master
Browse files Browse the repository at this point in the history
  • Loading branch information
tdewolff committed Sep 25, 2020
2 parents dca56fb + 5922c6b commit 098bc7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pdf/renderer.go
Original file line number Diff line number Diff line change
Expand Up @@ -573,9 +573,9 @@ func (w *pdfWriter) Close() error {
w.write("\nendobj\n")

xrefOffset := w.pos
w.write("xref\n0 %d\n0000000000 65535 f\n", len(w.objOffsets)+1)
w.write("xref\n0 %d\n0000000000 65535 f \n", len(w.objOffsets)+1)
for _, objOffset := range w.objOffsets {
w.write("%010d 00000 n\n", objOffset)
w.write("%010d 00000 n \n", objOffset)
}
w.write("trailer\n")
w.writeVal(pdfDict{
Expand Down

0 comments on commit 098bc7f

Please sign in to comment.