[Poppler-bugs] [Bug 94304] [PATCH] Add -noannotate option in pdftocairo to disable annotations
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Feb 27 09:03:10 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=94304
--- Comment #1 from Adrian Johnson <ajohnson at redneon.com> ---
Instead of an option for turning off annotations I would prefer a more general
option for controlling annotations. The glib api has print options:
* POPPLER_PRINT_DOCUMENT: print main document contents
* POPPLER_PRINT_MARKUP_ANNOTS: print document and markup annotations
* POPPLER_PRINT_STAMP_ANNOTS_ONLY: print document and only stamp annotations
* POPPLER_PRINT_ALL: print main document contents and all markup annotations
We could adde a "-annotate=xxx" type of option. eg
-annotate=[none|markup|stamp|all]
with the default (when -annotate is not specified) to print no annotations.
I'm not sure if it would also be useful to be able to specify a list of
specific annotations. eg
-annotate=watermark,printermark,trapnet
But this could easily be added later if someone found a need for it.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160227/aa309427/attachment.html>
More information about the Poppler-bugs
mailing list