From fddbcab0e7cc5978802251696055efa64667f637 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 6 Jan 2019 21:18:36 -0500 Subject: Mostly don't require original QPDF for copyForeignObject (fixes #219) The original QPDF is only required now when the source QPDFObjectHandle is a stream that gets its stream data from a QPDFObjectHandle::StreamDataProvider. --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index db5b897f..6a62bdec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2019-01-06 Jay Berkenbilt + + * Remove the restriction in most cases that the source QPDF used + in a copyForeignObject call has to stick around until the + destination QPDF is written. The exceptional case is when the + source stream gets is data using a + QPDFObjectHandle::StreamDataProvider. For a more in-depth + discussion, see comments around copyForeignObject in QPDF.hh. + Fixes #219. + 2019-01-05 Jay Berkenbilt * When generating appearances, if the font uses one of the -- cgit v1.2.3-54-g00ecf