Releases: phpdave11/gofpdi
v1.0.16
Changes
- #77 — Added
/ASCII85Decodefilter support inPdfReader.rebuildContentStream(thanks @pm-phild). Follow-up: surfaceio.Copyerrors and fix the long-standingUnspported→Unsupportedtypo. - #78 — Allow a multipage PDF to be split when interleaving imports from multiple source files (thanks @pm-phild). Each
PdfWriternow carries a process-uniqueuidbaked into the/GOFPDITPLresource name, eliminating cross-writer name collisions. Covers bothSetSourceFileandSetSourceStream. - #81 — Handle PDFs with high object ids (thanks @pm-phild). Replaced the hard-coded 0..9999 index loop in
putImportedObjectswith 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
streamkeyword, 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
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
Various bug fixes
gofpdi v1.0.13
gofpdi v1.0.13 fixes an issue when a PDF page is imported more than once.
gofpdi v1.0.12
gofpdi v1.0.12 adds support for reading page trees and improves support for reading cross-reference streams.
gofpdi v1.0.11
gofpdi v1.0.11 fixes a cross-reference stream parsing bug.
gofpdi v1.0.10
gofpdi v1.0.10 fixes bugs and improves support for documents with cross-reference streams.
gofpdi v1.0.9
gofpdi v1.0.9 adds support for cross-reference streams and compressed stream objects.
gofpdi v1.0.8
gofpdi v1.0.8 adds support for reading PDFs that have split xref tables.
gofpdi v1.0.7
gofpdi v1.0.7 fixes a bug where io.ReadSeeker wasn't being passed as a pointer argument.