Looks like the value from (session-value) is BASE-STRING, and what the draw-freetype-string is looking for SIMPLE-BASE-STRING. Actually I setf the session value from the html form combo-box values. I wonder what can I do to make it right? Get latest FFI?

Thank you,
Andrew

On 3/24/07, Edi Weitz <edi@agharta.de> wrote:
On Fri, 23 Mar 2007 22:26:41 -0500, "Andrei Stebakov" <lispercat@gmail.com> wrote:

> I am not sure if it's hunchentoot or gd because when I specify
> "arial" for the functon, it works.  When the same string comes from
> (session-value 'text) I got following error:
>
> Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:
>    "arial" is not of type (OR SIMPLE-BASE-STRING
>                               NULL
>                               (ALIEN:ALIEN (* (ALIEN:SIGNED 8))))

Hmm, seems like a problem with the FFI of your Lisp.  Try TYPE-OF to
see what kind of object (SESSION-VALUE 'TEXT) actually is.
_______________________________________________
cl-gd-devel site list
cl-gd-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-gd-devel