[cairo] cropping an SVG image

Emmanuel Pacaud emmanuel.pacaud at lapp.in2p3.fr
Tue May 8 00:26:43 PDT 2007

Le mardi 08 mai 2007 à 09:44 +0900, Kouhei Sutou a écrit :
> Hi,
> 2007/5/8, jan aerts (RI) <jan.aerts at bbsrc.ac.uk>:
> > The file 'big.svg' shows no rectangles at all unless I uncomment the
> > big_context.show_page line, but it's created even though the
> > big_surface.finish line is commented out...
> What version of cairo are you using? Since cairo 1.4, show_page is optional.
> And finish is called through Ruby's GC automatically.

And before 1.4, show_page did nothing when using the svg backend.

It still does nothing if the target svg version is 1.1 (<page> and
<pageSet> are defined only in SVG 1.2).


More information about the cairo mailing list