[cairo] PDF question

Behdad Esfahbod behdad at behdad.org
Thu Nov 1 15:46:05 PDT 2007


On Thu, 2007-11-01 at 18:41 -0400, Travis Griggs wrote:
> 
> I'm finding that using the pdf streaming surface, I need to not only  
> flush the surface, but finish the surface, before all of the data is  
> written through the callback. Is this expected? I'd of thought flush  
> should be enough. 

Because of the fonts and other shared resources, the entire stream can't
be written out before the surface is finished.  You can call
cairo_surface_finish() to do that.

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759





More information about the cairo mailing list