[cl-typesetting-devel] Unicode support feedback needed

Marc Battyani marc.battyani at fractalconcept.com
Tue Nov 8 12:48:55 UTC 2005


Dmitriy Ivanov  <divanov at aha.ru> wrote:
>
> BTW, I would greatly apreciate if the couple of simple loops in (defun
> read-ufm-file), font-metrics.lisp, were rewritten via loop instead of
iter.

No pb.

> MB>> 2) We would better have
> MB>>   (defmacro coerce-to-unicode-string (object) ...)
> MB>> instead of
> MB>>   (coerce thing (unicode-string-type))
> MB>>
> MB>> I have neither disassembled nor profiled but gut feels that coerce is
> MB> rather slow.
> MB>
> MB> Yes. Do you have code for this ?
>
> I've been thinking.

OK.

> MB> Now next major change: Binary format.
> MB> IIRC you already have such a thing for LW ?
>
> Yes, with my di-pdf.lisp, I do write into binary *pdf-stream*. With TTF,
> this should be enhanced.

OK.

> AFAIR, we should also open *page-stream* in binary mode - this needs
further
> elaboration. I am trying to figure out at the moment.

Why would you want to do that ? The content streams are in ASCII normally.
Excepted for the characters in strings but they can be encoded if needed.
The Unicode ones are already encoded.

Marc





More information about the cl-typesetting-devel mailing list