diff options
author | Jay Berkenbilt <ejb@ql.org> | 2013-06-14 20:53:47 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2013-06-14 20:58:09 +0200 |
commit | a3576a73593987b26cd3eff346f8f7c11f713cbd (patch) | |
tree | 3db5b39d339cddacf2fc1b13ecf4c028bc0589b5 /ChangeLog | |
parent | 96eb96511557469d50bbd55d211ced16acc31e13 (diff) | |
download | qpdf-a3576a73593987b26cd3eff346f8f7c11f713cbd.tar.zst |
Bug fix: handle generation > 0 when generating object streams
Rework QPDFWriter to always track old object IDs and QPDFObjGen
instead of int, thus not discarding the generation number. Switch to
QPDF::getCompressibleObjGen() to properly handle the case of an old
object eligible for compression that has a generation of other than
zero.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,5 +1,11 @@ 2013-06-14 Jay Berkenbilt <ejb@ql.org> + * Bug fix: properly handle object stream generation when the + original file has some compressible objects with generation != 0. + + * Add QPDF::getCompressibleObjGens() and deprecate + QPDF::getCompressibleObjects(), which had a flaw in its logic. + * Add new QPDFObjectHandle::getObjGen() method and indiciate in comments that its use is favored over getObjectID() and getGeneration() for most cases. |