[cairo] pdf encryption, read-write permissions

Kristian Høgsberg krh at bitplanet.net
Tue Aug 23 12:59:31 PDT 2005

chris nuernberger wrote:
> I would love to use cairo as a rendering backend for a tool that I am
> writing, but we need a few PDF options and I don't know if they are in
> cairo already or what.  I searched the archives a bit but must have
> missed the response I am looking for.

We haven't discussed this much on the list, but my thinking is that the 
pdf backend should support much more meta data than it currently does. 
Encryption is one thing that would make sense to support, but also 
features such as page labels, table of contents, author, title, creator 
(the application using cairo) and numerous others.  It's not going to be 
in 1.0, but the API for this would probably be setters on the PDF 
surface, e.g. something like

	cairo_pdf_surface_set_author (surface, "Jane Austen");


	cairo_pdf_surface_set_section (surface, parent_section, "Font Level 

and similiar.


More information about the cairo mailing list