Re: Cairo 0.91 (beta)



On Thu, Aug 10, 2006 at 08:38:16PM +0200, Torsten Schoenfeld wrote:
Cairo provides Perl bindings for the vector graphics library cairo.  It
supports multiple output targets, including the PDF, PNG and SVG.  Cairo
produces identical output on all those targets.

The package is available from:

http://sourceforge.net/project/showfiles.php?group_id=64773&package_id=160888&release_id=438588

Or from cvs.freedesktop.org:/cvs/cairo in the module "cairo-perl",
tagged as "rel-0-91".

Overview of changes in Cairo 0.91
=================================

* Make it possible to use the bindings with cairo 1.0.x and later.  This makes
  it possible to drop the cairo requirement back to 1.0.0.

(gdb) r -Mblib t/CairoSurface.t
Starting program: /usr/bin/perl -Mblib t/CairoSurface.t
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 14787)]
1..60
ok 1 - The object isa Cairo::ImageSurface
ok 2 - The object isa Cairo::Surface
ok 3
ok 4
ok 5
ok 6
ok 7 - The object isa Cairo::ImageSurface
ok 8 - The object isa Cairo::Surface
ok 9
ok 10
ok 11 - The object isa Cairo::ImageSurface
ok 12 - The object isa Cairo::Surface
ok 13
ok 14
ok 15
ok 16 - The object isa Cairo::FontOptions
ok 17
ok 18
ok 19
libpng error: Write Error
ok 20
ok 21
ok 22
libpng error: Write Error
ok 23
ok 24 - The object isa Cairo::ImageSurface
ok 25 - The object isa Cairo::Surface

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 14787)]
0xb7c0b01d in read_func_marshaller (closure=0x81ba1d0, data=0x81bac58 "\211PNG\r\n\032\n", length=8) at 
CairoSurface.xs:233
233                     memcpy (data, retval, n_a);
(gdb) l
228                     status = SvCairoStatus (ERRSV);
229             } else {
230                     STRLEN n_a;
231                     char *retval;
232                     retval = POPpx;
233                     memcpy (data, retval, n_a);
234             }
235     
236             PUTBACK;
237             FREETMPS;
(gdb) p n_a
$1 = 136029216
(gdb) 

perl-5 8 8 28443
cairo-1.2.2

Attachment: pgpdh3iJhBToO.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]