Skip to content

Releases: phpdave11/gofpdi

v1.0.16

15 Apr 23:48
7606376

Choose a tag to compare

Changes

  • #77 — Added /ASCII85Decode filter support in PdfReader.rebuildContentStream (thanks @pm-phild). Follow-up: surface io.Copy errors and fix the long-standing UnspportedUnsupported typo.
  • #78 — Allow a multipage PDF to be split when interleaving imports from multiple source files (thanks @pm-phild). Each PdfWriter now carries a process-unique uid baked into the /GOFPDITPL resource name, eliminating cross-writer name collisions. Covers both SetSourceFile and SetSourceStream.
  • #81 — Handle PDFs with high object ids (thanks @pm-phild). Replaced the hard-coded 0..9999 index loop in putImportedObjects with a proper map walk; objects with source-PDF ids ≥ 9999 are no longer silently dropped. Follow-up: iterate keys in sorted order so output stays deterministic across runs.
  • #82 — Do not discard valid whitespace from the start of a stream (thanks @pm-phild). After the stream keyword, consume exactly one EOL (LF or CR/CRLF) per ISO 32000-1 §7.3.8.1, instead of greedily eating all leading whitespace.

Note for downstream PDF consumers

#78 changes the format of internal Form XObject names inside generated PDFs (/GOFPDITPL0/GOFPDITPL0-0). This is internal to the produced PDF and should not affect any consumer.

gofpdi v1.0.15

01 May 18:33

Choose a tag to compare

gofpdi v1.0.15 fixes an issue when a PDF page is imported with multiple versions of an object and the newest version of the object was not being used (e.g. an update to a text box using Acrobat Pro would not be reflected in the imported PDF)

gofpdi v1.0.14

08 Jan 23:02

Choose a tag to compare

Various bug fixes

gofpdi v1.0.13

02 Jun 13:11

Choose a tag to compare

gofpdi v1.0.13 fixes an issue when a PDF page is imported more than once.

gofpdi v1.0.12

17 May 15:09

Choose a tag to compare

gofpdi v1.0.12 adds support for reading page trees and improves support for reading cross-reference streams.

gofpdi v1.0.11

20 Feb 19:07

Choose a tag to compare

gofpdi v1.0.11 fixes a cross-reference stream parsing bug.

gofpdi v1.0.10

13 Feb 19:29

Choose a tag to compare

gofpdi v1.0.10 fixes bugs and improves support for documents with cross-reference streams.

gofpdi v1.0.9

11 Feb 00:13

Choose a tag to compare

gofpdi v1.0.9 adds support for cross-reference streams and compressed stream objects.

gofpdi v1.0.8

16 Sep 19:01
8fd334b

Choose a tag to compare

gofpdi v1.0.8 adds support for reading PDFs that have split xref tables.

gofpdi v1.0.7

09 Aug 15:19

Choose a tag to compare

gofpdi v1.0.7 fixes a bug where io.ReadSeeker wasn't being passed as a pointer argument.