<span class="gmail_quote"><br></span>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. <br>
<br>
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).<br>
<br>
Perhaps you should elaborate your second topic unless I misunderstand. Which I probably do :)<div><span class="e" id="q_105e467e30bfbc7d_1"><br>
<br><div><span class="gmail_quote">On 8/23/05, <b class="gmail_sendername">chris nuernberger</b> &lt;<a href="mailto:cnuernber@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">cnuernber@gmail.com 
<img src="chrome://targetalert/content/skin/mailto.png" border="0"></a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I would love to use cairo as a rendering backend for a tool that I am<br>writing, but we need a few PDF options and I don't know if they are in<br>cairo already or what.&nbsp;&nbsp;I searched the archives a bit but must have<br>missed the response I am looking for.
<br><br>Specifically, I need to know if cairo supports, plans on supporting,<br>or how difficult it would be to add pdf encryption (I know it is<br>pathetic but it is a business requirement), as pdf read-write<br>permissions.
<br><br>I *really* want to use cairo as I can see it is super powerful, but I<br>need these types of options.&nbsp;&nbsp;Please don't just tell me they don't<br>exist, give me a couple paths (I code, so I could add them myself if<br>

necessary) to get them if they don't exist.<br><br>Chris<br>_______________________________________________<br>cairo mailing list<br><a href="mailto:cairo@cairographics.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
cairo@cairographics.org <img src="chrome://targetalert/content/skin/mailto.png" border="0"></a> <br><a href="http://cairographics.org/cgi-bin/mailman/listinfo/cairo" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://cairographics.org/cgi-bin/mailman/listinfo/cairo <img src="chrome://targetalert/content/skin/new.png" border="0"></a> <br></blockquote></div><br>

</span></div>