[cl-gd-devel] Error with draw-feetype-string

Andrei Stebakov lispercat at gmail.com
Sat Mar 24 12:55:00 UTC 2007


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 at agharta.de> wrote:
>
> On Fri, 23 Mar 2007 22:26:41 -0500, "Andrei Stebakov" <lispercat at 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 at common-lisp.net
> http://common-lisp.net/mailman/listinfo/cl-gd-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cl-gd-devel/attachments/20070324/d72b4d2e/attachment.html>


More information about the Cl-gd-devel mailing list