<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Allow to set the pdf metadata producer"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99514#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Allow to set the pdf metadata producer"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99514">bug 99514</a>
from <span class="vcard"><a class="email" href="mailto:bryce@osg.samsung.com" title="Bryce Harrington <bryce@osg.samsung.com>"> <span class="fn">Bryce Harrington</span></a>
</span></b>
<pre>It sounds like there are two distinct problems wanting addressed:
1. A way to omit metadata entirely from generated PDFs
2. A way to modify the Producer string in cairo-generated PDFs
Regarding the first point: Like Adrian I'm skeptical of the actual value of
omitting metadata for security protection (seems merely
security-through-obscurity) -- I'd need to see a stronger case made to be
convinced. That said, I recall in Inkscape we had some
interoperational/compatibility problems with SVG that included metadata, so
provide a way for users to get stripped down "plain SVG" that excludes it. I
don't know if such problems are at all likely with PDF metadata, but if there
are legitimate concerns here I wouldn't be opposed to allowing a toggle to omit
it.
For the second point, again like Adrian says it appears that most cases where
an app or library is using Cairo to produce PDFs they should list themselves as
the Creator with Cairo as the PDF Producer. Googling around seems to indicate
Adobe and other PDF tools follow this same strategy. There does seem to be
demand for an ability to customize the Producer field, but from what I can tell
it seems to be for branding purposes (or maybe even more nefarious reasons),
which seem hardly compelling...
That said, it seems like it is easy enough to edit the generated PDF's metadata
using other free software tools, and maybe it'd be better for Cairo to allow
adding to the string so Cairo still gets tagged. E.g. I'm thinking something
more like:
... " /Producer %s (cairo %s (<a href="http://cairographics.org))\n">http://cairographics.org))\n</a>",
ic->docinfo.producer, cairo_version_string ())
On the other hand, maybe the use case for this is small enough we could just
direct folks that need to manipulate the metadata to the third party editing
tools that they'd be using anyway?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>