<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [PATCH] Add -noannotate option in pdftocairo to disable annotations"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94304#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [PATCH] Add -noannotate option in pdftocairo to disable annotations"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94304">bug 94304</a>
from <span class="vcard"><a class="email" href="mailto:ajohnson@redneon.com" title="Adrian Johnson <ajohnson@redneon.com>"> <span class="fn">Adrian Johnson</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>