Christophe Rhodes | 10 Nov 2005 13:36
Picon
Picon
Favicon

Re: Re: testcairo.lisp?

Espen S Johnsen <esj <at> cs.uit.no> writes:

> Espen S Johnsen <esj <at> cs.uit.no> writes:
>
>> > So where can I find those Cairo bindings for Common Lisp?
>> > Or is testcairo.lisp just an imaginary example?
>> 
>> I will import what I have so far into CVS [...]
>
> Which I have now done. Unfortunately some of the test snippets
> (including all those using SVG) are giving floating point exceptions. I
> don't know if this is a binding problem or caused by bugs in the Cairo
> library.

I believe Cairo internally uses code which generates NaNs in some
cases; we've seen this before in the McCLIM experimental Cairo
backend.  You can turn off floating point exceptions in sbcl, at
least, with (sb-int:set-floating-point-modes :traps nil).

Cheers,

Christophe

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php

Gmane