[cl-pdf-devel] Unicode issue

Levente Mészáros levente.meszaros at gmail.com
Tue Oct 9 08:05:33 UTC 2007


Hi,

May I ask some help?

I have attached an example which results in a wrong pdf (see image). Both evince
and acroread under feisty ubuntu displays wrong characters (i.e.
boxes).

AFAICT the problem is related to unicode encoding, escaping in pdf
(for parenthesis) and external formats. I'm using SBCL and the latest
cl-pdf, cl-typesetting versions.

The example uses a unicode font and simply puts a string into the
output document which contains #\Space #\(  #\) and a few other
characters. Both parenthesis and space are needed to produce the wrong
pdf.

If you don't have the font you may download it from:
http://files-upload.com/files/548738/FreeSerif.tar

And if you wish to download the resulting pdf go to:
http://files-upload.com/files/548742/hello.pdf

Sorry about the 30 seconds...

Cheers,
levy

--
There's no perfectoin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.lisp
Type: application/x-extension-lisp
Size: 578 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cl-pdf-devel/attachments/20071009/d7205fdd/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot.png
Type: image/png
Size: 24871 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cl-pdf-devel/attachments/20071009/d7205fdd/attachment.png>


More information about the cl-pdf-devel mailing list