[cl-pdf-devel] Stream output error with cvs SBCL

Marc Battyani marc.battyani at fractalconcept.com
Wed Jan 3 21:12:22 UTC 2007


"Attila Lendvai" <attila.lendvai at gmail.com> wrote:

>> It's probably a cl-pdf issue. I think the latest patches from Dmitriy 
>> Ivanov
>> don't work on SBCL.
>> Maybe some SBCL user (Attila Lendvai?) can look at this?
>
> yep, it's broken both with and without :pdf-binary.
>
> due to this i've taken a big breath and started to convert cl-pdf to
> really be based on binary streams (get rid of all the cl:write-char or
> cl:write-string calls by shadowing them and their stream arguments
> defaulting to *page-stream* (iirc)).
>
> but after a few hours, when it was functional again, it generated
> bugous pdf binaries, and it's sleeping in that state on my hard drive
> ever since...
>
> but at least meanwhile there was a state when i could put unicode
> chapter links in pdf's... :)
>
> i doubt i'll get to it again in the near future, though.

This topic (converting cl-pdf to binary only streams) has come up several 
times here but has always been discarded due to lack of time. :(

In fact pdf files are really bivalent streams as the pdf structural 
information is in ascii and the content streams are in binary (octets).

Maybe it's simpler and faster to just make a quick fix for SBCL.

Marc




More information about the cl-pdf-devel mailing list