[cairo] [RFC][PATCH] Add API for metadata annotation to PDF surfaces

Peter TB Brett peter at peter-b.co.uk
Fri Sep 30 15:08:08 UTC 2016



On 30/09/2016 15:51, Adrian Johnson wrote:
> On 30/09/16 23:00, Peter TB Brett wrote:
>> This patch adds an API for PDF surfaces for adding PDF metadata.  The
>> public API encompasses:
>>
>> - metadata strings
>> - internal links and URI links
>> - destination dictionary entries
>> - document outline entries
>
> I don't know if you have see the PDF API I posted in June:
>
> https://lists.cairographics.org/archives/cairo/2016-June/027427.html
>
> I was only a day away from pushing it out. I have just been creating a
> test case and finishing the documentation. I've pushed out my branch to:
>
> https://cgit.freedesktop.org/~ajohnson/cairo/log/?h=pdf-features

I didn't see this.  Thanks for pointing it out.

The patch I posted is a cleaned-up version of a patch that we've been 
using in production for several years.

What are the main barriers to getting your PDF links/metadata API 
merged?  If there was a supported upstream cairo API for doing this 
stuff then we'd definitely move over to using it.

                                    Peter

-- 
Dr Peter Brett <peter at peter-b.co.uk>


More information about the cairo mailing list