From pinterface at gmail.com Sat May 1 02:07:18 2010 From: pinterface at gmail.com (Pixel // pinterface) Date: Fri, 30 Apr 2010 20:07:18 -0600 Subject: [cl-pdf-devel] patch for unicode PDFs on clisp Message-ID: 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? -pix Who is much happier having figured out his encoding issues. begin 666 clisp-encoding.patch M.SL[.R!0871C:&5S('1O(&-L+7!D9 at T*.SL at 2G5S=&EF:6-A=&EO;CH@*F1E M9F%U;'0M9FEL92UE;F-O9&EN9RH at 869F96-T2!C;"UP9&8L M(&)U="!E=F5R>0T*.SL@;&ES<"!F:6QE(&QO861E9"!O"D at .F1E9F%U;'0-"B @ M(",K;&ES<'=O71E+6-O9&5S*@T*26YD97 at Z(&-L M+7!D9BYA'0M;65T:&]D*2DI*0HK(" @(" @(" @(" @(" @ M(" @(" @(" @(#IP97)F;W)M("AL;V%D+6]P("X@(S$C*0HK(" @(" @(" @ M(" @(" @(" @(" @(" @(#IP97)F;W)M("AL;V%D+7-O=7)C92UO<" N(",Q M(RDI"BL@(" @(" @(" @(" @(" @(RUC;&ES<"!N:6PI"B )(" @(" @("@Z M9FEL92 B=&5X="(@.F1E<&5N9',M;VX@*")P9&8M8F%S92(I*0H@"2 @(" @ M(" H.F9I;&4@(F)A'0B /(")P9&8M9V5O;2(I*2D* ` end begin 666 clisp-unicode.patch M.SL[.R!0871C:&5S('1O(&-L+7!D9 at T*26YD97 at Z(&9O;G0N;&ES< T*/3T] M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T] M/3T]/3T]/3T]/3T]/3T]/3T]/0T*+2TM(&9O;G0N;&ES< DH2!S971S('5P(&9I;&4M96YC;V1I;F<@9&5F M875L=',N("!$;VEN9R!I="!I;@T*.SL at 8VPM='EP97-E='1I;F<@:7,@'0Z96YC;V1I;F 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 > >