From: Tony G. <Ton...@Me...> - 2007-03-08 17:07:41
|
On Thu, Mar 08 2007 10:55:39 +0000, Vasanth Manickam wrote: > =A0I am trying to output the pdf with an http response but I do not want > to save it on the local disk before doing so, can libgnomeprint be made > to write to memory instead of a file.. Cairo looks to be a better option that libgnomeprint, now that I look at it. It would require modifying the FoDoc type (fo-doc.[ch], fo-doc-cairo.[ch]) to add a create function that accepts a stream argument instead of a filename. Internally, it would use cairo_pdf_surface_create_for_stream() (and other variants for other output formats). See: http://www.cairographics.org/manual/cairo-PDF-Surfaces.html#cairo-pdf-surfa= ce-create-for-stream > and sorry abt the footer.. it is added automatically by our mail > server.. That is what I expected to be the case. Thanks for omitting it this time. Regards, Tony. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Tony Graham mailto:Ton...@Me... Menteith Consulting Ltd http://www.menteithconsulting.com 13 Kelly's Bay Beach Skerries, Co. Dublin, Ireland =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |