Package: qpdf Version: 10.1.0-1 Severity: normal Tags: upstream X-Debbugs-Cc: [email protected], [email protected]
The qpdf documentation states that it is possible to remove an object then run fix-qdf and it should renumber the remaining objects. In an exemplary PDF, I did this: - qpdf --qdf dings.pdf dings.qdf - $EDITOR dings.qdf - remove object '38 0' and the one reference to it - fix-qdf dings.qdf >dings2.qdf It complained about the missing object: dings.qdf:20254: expected object 38 Line 20254 here is exactly the beginning of object '39 0' after the end of object '37 0'. ──┤ Workaround ├──────────────────────────────────────────────────────── Just removing all the references and letting qpdf clean up the now-unreferenced object seems to have worked here. But this does still not work as documented… -- System Information: Debian Release: 11.9 APT prefers oldstable-updates APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldstable-proposed-updates'), (500, 'oldstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-27-amd64 (SMP w/2 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/lksh Init: sysvinit (via /sbin/init) Versions of packages qpdf depends on: ii libc6 2.31-13+deb11u8 ii libgcc-s1 10.2.1-6 ii libqpdf28 10.1.0-1 ii libstdc++6 10.2.1-6 qpdf recommends no packages. qpdf suggests no packages. -- no debconf information

