[cl-pdf-devel] patch for unicode PDFs on clisp

Marc Battyani marc.battyani at fractalconcept.com
Sat May 1 02:33:03 UTC 2010


On 30-04-10 10:07 PM, Pixel // pinterface wrote:
> There are three patches attached.
>
> clisp-unicode.patch begins support for producing unicode PDFs on clisp.  It
> is pretty uninteresting, other than making me wonder if cl-pdf should just
> define an ascii-char-p function (or whatever an appropriate name for it
> would be), instead of duplicating reader conditionals so many times.
>
> clisp-encoding.patch limits the effects of setting *default-file-encoding*
> to within cl-pdf itself, to avoid causing surprises for users with
> alternately-encoded source files.  Or, copying from the patchfile itself:
> ;; Justification: *default-file-encoding* affects not only cl-pdf, but every
> ;; lisp file loaded or compiled after this, which causes encoding issues for
> ;; any bit of user code assuming the environment is set up for, e.g., utf-8.
> ;; cl-pdf should avoid changing defaults out from under its users if
> possible.
>
> clisp-encoding-2.patch does the same as clisp-encoding.patch, but for
> cl-typesetting, with the justification that setting it in both cl-pdf and
> cl-typesetting is redundant.
>
> Enjoy!  Or...don't?
>   

Thanks :) I will have a look but please resend the patches directly to
me as I can't read them in your original email.

> -pix
> Who is much happier having figured out his encoding issues.
>
> [...]
>
> _______________________________________________
> cl-pdf-devel site list
> cl-pdf-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/cl-pdf-devel
>
>   




More information about the cl-pdf-devel mailing list