[cairo] Re: pdf encryption, read-write permissions
chris nuernberger
cnuernber at gmail.com
Tue Aug 23 10:57:33 PDT 2005
I apologize for the unclear message; you can set read-write flags in the PDF
itself indicating whether other adobe products are supposed to be able to
change the document (or read it in the first place I guess). To my
understanding these are part of the pdf specification itself. More like file
permissions than functionally being able to parse a pdf file (which I
understand other people are working on).
Chris
On 8/23/05, William Lahti <xfurious at gmail.com> wrote:
>
>
> I can't speak on whether it's the right time to change the PDF backend API
> because the release API is frozen for 1.0 but it does look like such API
> changes would be necessary to support it. It may work well to just add a few
> more pdf surface functions: cairo_pdf_surface_create_encrypted or such.
>
> The other concern, which I think is seperate (maybe a typo), is to perform
> what kind of read/write operations to PDFs? Cairo already supports
> read/write access to the PDF output streams with
> cairo_pdf_surface_create_for_stream. You may have to make a few wrapper
> functions to wrap freads/fwrites (the API was abstracted to support other
> kinds of streams).
>
> Perhaps you should elaborate your second topic unless I misunderstand.
> Which I probably do :)
>
> On 8/23/05, chris nuernberger <cnuernber at gmail.com > 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.
> >
> > Specifically, I need to know if cairo supports, plans on supporting,
> > or how difficult it would be to add pdf encryption (I know it is
> > pathetic but it is a business requirement), as pdf read-write
> > permissions.
> >
> > I *really* want to use cairo as I can see it is super powerful, but I
> > need these types of options. Please don't just tell me they don't
> > exist, give me a couple paths (I code, so I could add them myself if
> > necessary) to get them if they don't exist.
> >
> > Chris
> > _______________________________________________
> > cairo mailing list
> > cairo at cairographics.org
> > http://cairographics.org/cgi-bin/mailman/listinfo/cairo
> >
>
>
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://cairographics.org/cgi-bin/mailman/listinfo/cairo
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/cairo/attachments/20050823/f9522d72/attachment-0001.html
More information about the cairo
mailing list