[cl-pdf-devel] pdf:draw-text question

Marc Battyani marc.battyani at fractalconcept.com
Wed Dec 13 10:38:52 UTC 2006


Dmitriy Ivanov wrote:

> Hello Peter,
>
> | Is it by design that pdf:draw-text doesn't take care of escaping
> | dangerous characters (such as #\( and #\))? It's easy enough to deal
> | from outside, now that I know what the problem is, but I was
> | surprised to discover garbage in my PDF output when I tried to
> | (pdf:draw-text "(something").

At the beginning draw-text and such functions were supposed to be just a 
temporary hack before switching to some cl-typesetting based functions. But 
it looks like that finally they are here to stay.

> Yes. In the version of CL-PDF of my own, draw-text does escape but 
> show-text
> and other functions in the show-... family do not. If that would publicly
> accepted, I would speed up committing my new contribution code.

OK for me.

Marc




More information about the cl-pdf-devel mailing list