Re: [Printing-architecture] PDFio: Replaced QPDF by PDFio in libcupsfilters as GSoC project?
Till Kamppeter <[email protected]> Thu, 7 Dec 2023 23:35:39 +0100
| Newsgroups | dev.linux.lists.printing-architecture |
|---|---|
| Message-ID | <[email protected]> |
On 07/12/2023 18:38, Michael Sweet wrote:
>
> It is entirely possible. The ipptransform program (part of the libcups
> project) shows how to do this, but it is really only necessary if you
> are doing N-up or other combinations of multiple pages from the input
> document. If all you do is copy pages as-is then pdfioPageCopy will
> handle copying all of the annotations referenced by the Annots key in
> the page dictionary.
>
And will pdfioPageCopy() also be enough if I still put a single input
page onto the output page but scale and/or crop the page? Will the
annotations or filled in content also be appropriately scaled, moved,
and cropped?
> (ipptransform needs to be updated to copy/merge the Annots values, and I
> filed issue #71 in the libcups project to track that change...)
So this issue is for solving the above on the level of ipptransform?
Would it be then not better to have it in PDFio so that it gets re-used
in libcupsfilters?
Till