[cl-pdf-devel] Re: cl-pdf with sbcl on debian
Marc Battyani
marc.battyani at fractalconcept.com
Tue Mar 8 08:10:34 UTC 2005
"Jason Dagit" <dagit at cs.oregonstate.edu> wrote:
> I've been trying to get cl-pdf working on my computer under sbcl.
> After I load cl-pdf (using asdf), I try to run example1 that came with
> cl-pdf, and I get the following error:
>
> * (example1)
>
> debugger invoked on a SB-INT:STREAM-ENCODING-ERROR in thread 32052:
> encoding error on stream #<FILE-STREAM for "file \"/tmp/ex1.pdf\""
> {9F2A229}>
> (:EXTERNAL-FORMAT :ASCII):
> the character with code 11377784 cannot be encoded.
It is right, a character with code 11377784 is really not ASCII.
> This lead me to config.lisp, where I changed +external-format+ to the
> following:
>
> (defconstant +external-format+ #-(or sbcl lispworks clisp allegro)
> :default
> #+(and allegro mswindows) (excl:crlf-base-ef :1252) ;;:1252-base
> #+(and allegro unix) :default
> #+lispworks '(:latin-1 :eol-style :lf)
> #+sbcl :iso-8859-1
> #+clisp :unix)
>
> Then I reloaded cl-pdf and tried again. Now I get the same message,
> except instead of :ASCII it says :LATIN-1
Same problem, Latin-1 is an 8 bit encoding.
There is probably an unicode string somewhere and cl-pdf does not support it
yet.
Maybe some SBCL user can confirm this.
Marc
More information about the cl-pdf-devel
mailing list