diff options
author | Jay Berkenbilt <ejb@ql.org> | 2023-05-13 22:27:07 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2023-05-20 21:46:16 +0200 |
commit | 293a2e52b3fbd6dac2c89dfb35a546cdc027eb1b (patch) | |
tree | 50bd4dc9e81a84dffdf48445479151cfc35f7d5b /ChangeLog | |
parent | 3cfd6546f36896d27a3756c253af5dcb2e0f6485 (diff) | |
download | qpdf-293a2e52b3fbd6dac2c89dfb35a546cdc027eb1b.tar.zst |
Disregard appearance state when irrelevant (fixes #949)
If /AP is a dictionary of streams rather than a dictionary of
dictionaries, disregard /AS, which is supposed to point to a subkey of
one of the dictionaries. This fix prevents qpdf's annotation
flattening from discarding some annotations when /AS is erroneously
set.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -5,6 +5,15 @@ reserved object fits better in the QPDF API. The old call just delegates to the new one. +2023-05-13 Jay Berkenbilt <ejb@ql.org> + + * When an annotation dictionary's appearance dictionary (`/AP`) + has a key that is a stream, disregard `/AS` (which is supposed to + point to a subkey). This enables qpdf to not ignore annotations + that have incorrect values for `/AS` when the appearance stream is + directly in the `/AP` dictionary instead of in a subkey. Fixes + #949. + 2023-04-02 Jay Berkenbilt <ejb@ql.org> * Allow QPDFJob's workflow to be split into a reading phase and a writing phase to allow the caller to operate on the QPDF object |