cairo_write_func_t isn't called when a call to cairo_show_page/cairo_copy_page is done
Submitted by Carlos Eduardo Rodrigues Diógenes
Assigned to Emmanuel Pacaud
Description
Sometime ago, talking in #cairo, Carl Worth tell me that the cairo_write_func_t used in cairo_svg_surface_create_for_stream must be called when a call to cairo_show_page/cairo_copy_page or cairo_surface_show_page/cairo_surface_copy_page is called, but this isn't what actually happen.
The cairo_write_func_t is only called when the surface is destroyed, what's a problem, since some applications only destroy the surface when it's terminate, so we can't send progress throw the stream.
Version: 1.5.13