From marc.battyani at fractalconcept.com Tue Nov 1 12:49:52 2005 From: marc.battyani at fractalconcept.com (Marc Battyani) Date: Tue, 1 Nov 2005 13:49:52 +0100 Subject: [cl-pdf-announce] Ful Unicode support References: <074c01c503f3$13b432c0$0a02a8c0@marcxp><08b301c5198a$52a9fb20$0a02a8c0@marcxp> <010401c5dd86$555ecec0$0a02a8c0@marcxp> Message-ID: <05a801c5dee2$c081e2c0$0a02a8c0@marcxp> I've commited the latest version of cl-pdf to the cl-pdf repository. Now there is a full Unicode support (16 bits) with char box metrics, kerning, encoding, etc. The full repository is here: http://www.fractalconcept.com:8000/public/open-source/ (It's a subversion 1.0 repository.) The cl-pdf part: http://www.fractalconcept.com:8000/public/open-source/cl-pdf/ The cl-typesetting part: http://www.fractalconcept.com:8000/public/open-source/cl-typesetting/ The mod_lisp part: http://www.fractalconcept.com:8000/public/open-source/mod_lisp/ There are also tarballs for cl-pdf and cl-typesetting: http://www.fractalconcept.com/download/cl-pdf-current.tgz http://www.fractalconcept.com/download/cl-typesetting-current.tgz BTW the (somewhat outdated) home pages for these projects are here: http://www.fractalconcept.com/asp/html/cl-pdf.html http://www.fractalconcept.com/asp/html/cl-typesetting.html http://www.fractalconcept.com/asp/html/mod_lisp.html Marc From marc.battyani at fractalconcept.com Tue Nov 1 13:48:20 2005 From: marc.battyani at fractalconcept.com (Marc Battyani) Date: Tue, 1 Nov 2005 14:48:20 +0100 Subject: [cl-pdf-announce] Added unicode-readme.txt and an example References: <074c01c503f3$13b432c0$0a02a8c0@marcxp><08b301c5198a$52a9fb20$0a02a8c0@marcxp><010401c5dd86$555ecec0$0a02a8c0@marcxp> <05a801c5dee2$c081e2c0$0a02a8c0@marcxp> Message-ID: <066601c5deea$eb9bb190$0a02a8c0@marcxp> Added unicode-readme.txt to explain the use of unicode fonts and an example done with cl-typesetting: http://www.fractalconcept.com/fcweb/download/hello-u.pdf Marc From marc.battyani at fractalconcept.com Wed Nov 2 00:03:30 2005 From: marc.battyani at fractalconcept.com (Marc Battyani) Date: Wed, 2 Nov 2005 01:03:30 +0100 Subject: [cl-pdf-announce] Unicode font metrics rewrite References: <074c01c503f3$13b432c0$0a02a8c0@marcxp><08b301c5198a$52a9fb20$0a02a8c0@marcxp><010401c5dd86$555ecec0$0a02a8c0@marcxp><05a801c5dee2$c081e2c0$0a02a8c0@marcxp> <066601c5deea$eb9bb190$0a02a8c0@marcxp> Message-ID: <015e01c5df40$dbf4c640$0a02a8c0@marcxp> I've commited the latest version of cl-pdf to the cl-pdf repository. I've made a modified version of tt2pt1 which merges the unicode encoding with the char metrics in a .ufm file. The parsing of the ufm files is changed to be able to use those new .ufm files To use Unicode fonts you need to have the font metrics and the character encoding of the font. For this you must have an unicode font metrics (.ufm file). You can generate it with a special version of afm2pt1: http://www.fractalconcept.com/fcweb/download/ttf2pt1-src.zip I've put a windows executable here: http://www.fractalconcept.com/fcweb/download/ttf2pt1.zip You can get the original version here: http://ttf2pt1.sourceforge.net/ Use it like this (using the times font as an example): ttf2pt1 -a -F times.ttf times This will generate the needed times.ufm file. You can then load the font: (pdf:load-ttu-font #P"times.ufm" #P"times.ttf") And now you can use it: PDF 222 > (pdf:get-font "TimesNewRomanPSMT") # To see the exact name of the font, just look inside the .ufm file. If you only need some characters of a font, you can use fontforge to tweak it. The full repository is here: http://www.fractalconcept.com:8000/public/open-source/ (It's a subversion 1.0 repository.) The cl-pdf part: http://www.fractalconcept.com:8000/public/open-source/cl-pdf/ The cl-typesetting part: http://www.fractalconcept.com:8000/public/open-source/cl-typesetting/ The mod_lisp part: http://www.fractalconcept.com:8000/public/open-source/mod_lisp/ There are also tarballs for cl-pdf and cl-typesetting: http://www.fractalconcept.com/download/cl-pdf-current.tgz http://www.fractalconcept.com/download/cl-typesetting-current.tgz BTW the (somewhat outdated) home pages for these projects are here: http://www.fractalconcept.com/asp/html/cl-pdf.html http://www.fractalconcept.com/asp/html/cl-typesetting.html http://www.fractalconcept.com/asp/html/mod_lisp.html Marc From marc.battyani at fractalconcept.com Wed Nov 2 09:46:15 2005 From: marc.battyani at fractalconcept.com (Marc Battyani) Date: Wed, 2 Nov 2005 10:46:15 +0100 Subject: [cl-pdf-announce] Re: [cl-pdf-devel] Unicode font metrics rewrite References: <074c01c503f3$13b432c0$0a02a8c0@marcxp><08b301c5198a$52a9fb20$0a02a8c0@marcxp><010401c5dd86$555ecec0$0a02a8c0@marcxp><05a801c5dee2$c081e2c0$0a02a8c0@marcxp><066601c5deea$eb9bb190$0a02a8c0@marcxp> <015e01c5df40$dbf4c640$0a02a8c0@marcxp> Message-ID: <028c01c5df92$443db080$0a02a8c0@marcxp> I wrote: > You can generate it with a special version of afm2pt1: > http://www.fractalconcept.com/fcweb/download/ttf2pt1-src.zip Sorry, bad URL, the correct one is: http://www.fractalconcept.com/fcweb/download/ttf2pt1-src-cl-pdf.zip Marc