diff options
author | Jay Berkenbilt <ejb@ql.org> | 2019-01-03 03:44:10 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2019-01-03 03:49:47 +0100 |
commit | f78ea057ca766e083c53f1c0284944b96a42b1b8 (patch) | |
tree | 226c9ac1a88d1189f134c766160179d2f34245b2 /ChangeLog | |
parent | 23bcfeb3362c98d598dd8c5db603238ebac66f19 (diff) | |
download | qpdf-f78ea057ca766e083c53f1c0284944b96a42b1b8.tar.zst |
Switch annotation flattening to use the form xobjects
Instead of directly putting the contents of the annotation appearance
streams into the page's content stream, add commands to render the
form xobjects directly. This is a more robust way to do it than the
original solution as it works properly with patterns and avoids
problems with resource name clashes between the pages and the form
xobjects.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 16 |
1 files changed, 6 insertions, 10 deletions
@@ -1,6 +1,6 @@ 2018-12-31 Jay Berkenbilt <ejb@ql.org> - * Add several methods for flattening form fields and annotations: + * Add methods for flattening form fields and annotations: - QPDFPageDocumentHelper::flattenAnnotations - integrate annotation appearance streams into page contents with special handling for form fields: if appearance streams are up to date @@ -11,15 +11,11 @@ be found. - QPDFAnnotationObjectHelper::getPageContentForAppearance - generate the content stream fragment to render an appearance - stream in a page's content stream. Called by flattenAnnotations. - - QPDFAnnotationObjectHelper::getAnnotationAppearanceMatrix - - calculate the matrix that will transform from the appearance - stream coordinates to the page coordinates. Called by - getPageContentForAppearance. - - * Add method QPDFObjectHandle::mergeDictionary(), which - recursively merges dictionaries with semantics designed for - merging resource dictionaries. See detailed description in + stream in a page's content stream as a form xobject. Called by + flattenAnnotations. + + * Add method QPDFObjectHandle::mergeResources(), which merges + resource dictionaries. See detailed description in QPDFObjectHandle.hh. * Add QPDFObjectHandle::Matrix, similar to |