[cl-typesetting-devel] Unicode support feedback needed

Marc Battyani marc.battyani at fractalconcept.com
Mon Nov 7 23:36:57 UTC 2005


"Dmitriy Ivanov" <divanov at aha.ru> wrote:

> At the first glance, works for me on LWW 4.4.6 and AcroReader 5.1 both
> with and without compressing fonts. Even Cyrillic alphabet is displayed
> fine. Thanks!

Cool :)

> Unfortunately, due to huge size of TTF, they are hardly of practical use
> when embedded without subsetting. Moreover, neither copy-and-paste
> nor the Find dialog works in Acrobat yet :-(

Yes I know...

> Bellow are the small patches.
[...]
> 1) IMHO, defconstant* is an unfortunate name as it neither correlates with
> let*/do* nor list* convention.

Yes. No problem, what do you prefer ?

> 2) We would better have
>   (defmacro coerce-to-unicode-string (object) ...)
> instead of
>   (coerce thing (unicode-string-type))
>
> I have neither disassembled nor profiled but gut feels that coerce is
rather
> slow.

Yes. Do you have code for this ?

> Maybe a symbol-macro should be used instead of the usual macro:
> (define-symbol-macro unicode-string-type
>   #+lispworks 'lispworks:simple-text-string
>   #-(or lispworks) 'string)

Done.

> 3) tables.lisp
> I don't see the following change for (defun stroke-table ...) committed
>
> -              (unless (zerop border) ; next, draw table border
> +             ;; Next, draw table border if not suppressed
> +             (unless (or (zerop border) (null cell-border))

Added.

Now next major change: Binary format.
IIRC you already have such a thing for LW ?

Cheers,

Marc





More information about the cl-typesetting-devel mailing list