From edi at agharta.de Thu Feb 22 18:09:59 2007 From: edi at agharta.de (Edi Weitz) Date: Thu, 22 Feb 2007 19:09:59 +0100 Subject: [cl-gd-devel] Darcs repositories Message-ID: [My apologies if you get this more than once.] Several people have asked for Darcs repositories of my software. These do exists now: http://common-lisp.net/~loliveira/ediware/ Special thanks to Lu?s Oliveira who made this possible and who maintains the repositories. Cheers, Edi. From cyberblue.yong at gmail.com Wed Feb 28 15:00:55 2007 From: cyberblue.yong at gmail.com (Luo Yong) Date: Wed, 28 Feb 2007 23:00:55 +0800 Subject: [cl-gd-devel] draw-freetype-string cannot work with utf-8 encoded string Message-ID: Hi all I'm under UTF-8 environment and found that UTF-8 encoded string cannot be displayed with function draw-freetype-string.I wrote a script like this ===> (asdf:oos 'asdf:load-op :cl-gd) (setq oldimage (cl-gd:create-image 300 150)) (cl-gd:allocate-color 0 0 255 :image oldimage) (cl-gd:draw-freetype-string 100 100 "??" :font-name "/usr/share/fonts/truetype/arphic/gbsn00lp.ttf" :color (cl-gd:find-color 255 255 255 :resolve 't :image oldimage) :image oldimage :angle 0 :anti-aliased 't) (cl-gd:write-image-to-file "~/newimage.png" :type :PNG :image oldimage :if-exists :supersede) <=== But it displays the UTF-8 string "??" like this: &27721;&23383 How can I make my script displays the string correctly? Thanks. From frinkofox at yahoo.com Wed Feb 28 15:05:55 2007 From: frinkofox at yahoo.com (arry) Date: Wed, 28 Feb 2007 07:05:55 -0800 (PST) Subject: [cl-gd-devel] draw-freetype-string cannot work with utf-8 encoded string In-Reply-To: Message-ID: <214268.39810.qm@web54105.mail.yahoo.com> Hello, I confirm this too. This is a bug from quite some time now. What i did was to change to the older version - there it works! cheer up H.T. Luo Yong wrote: Hi all I'm under UTF-8 environment and found that UTF-8 encoded string cannot be displayed with function draw-freetype-string.I wrote a script like this ===> (asdf:oos 'asdf:load-op :cl-gd) (setq oldimage (cl-gd:create-image 300 150)) (cl-gd:allocate-color 0 0 255 :image oldimage) (cl-gd:draw-freetype-string 100 100 "????" :font-name "/usr/share/fonts/truetype/arphic/gbsn00lp.ttf" :color (cl-gd:find-color 255 255 255 :resolve 't :image oldimage) :image oldimage :angle 0 :anti-aliased 't) (cl-gd:write-image-to-file "~/newimage.png" :type :PNG :image oldimage :if-exists :supersede) <=== But it displays the UTF-8 string "????" like this: &27721;&23383 How can I make my script displays the string correctly? Thanks. _______________________________________________ cl-gd-devel site list cl-gd-devel at common-lisp.net http://common-lisp.net/mailman/listinfo/cl-gd-devel --------------------------------- Get your own web address. Have a HUGE year through Yahoo! Small Business. -------------- next part -------------- An HTML attachment was scrubbed... URL: From edi at agharta.de Wed Feb 28 16:10:49 2007 From: edi at agharta.de (Edi Weitz) Date: Wed, 28 Feb 2007 17:10:49 +0100 Subject: [cl-gd-devel] New release 0.5.2 (Was: draw-freetype-string cannot work with utf-8 encoded string) In-Reply-To: (Luo Yong's message of "Wed, 28 Feb 2007 23:00:55 +0800") References: Message-ID: On Wed, 28 Feb 2007 23:00:55 +0800, "Luo Yong" wrote: > But it displays the UTF-8 string "??" like this: > > &27721;&23383 Looks like a bug. Could you try if 0.5.2 fixes it? See also this, BTW: http://bugs.libgd.org/?do=details&task_id=42 Thanks, Edi. From edi at agharta.de Wed Feb 28 16:11:22 2007 From: edi at agharta.de (Edi Weitz) Date: Wed, 28 Feb 2007 17:11:22 +0100 Subject: [cl-gd-devel] draw-freetype-string cannot work with utf-8 encoded string In-Reply-To: <214268.39810.qm@web54105.mail.yahoo.com> (arry's message of "Wed, 28 Feb 2007 07:05:55 -0800 (PST)") References: <214268.39810.qm@web54105.mail.yahoo.com> Message-ID: On Wed, 28 Feb 2007 07:05:55 -0800 (PST), arry wrote: > I confirm this too. This is a bug from quite some time now. Why didn't you report it then? > What i did was to change to the older version - there it works! Older version of CL-GD? Which one? From frinkofox at yahoo.com Wed Feb 28 16:20:11 2007 From: frinkofox at yahoo.com (arry) Date: Wed, 28 Feb 2007 08:20:11 -0800 (PST) Subject: [cl-gd-devel] draw-freetype-string cannot work with utf-8 encoded string In-Reply-To: Message-ID: <471122.42805.qm@web54101.mail.yahoo.com> I am currently using cl-gd-0.4.8 on win32. I think there was also a problem with the antialiasing feature, (I did report it) don't know if it is fixed in the newer version??? bye HT Edi Weitz wrote: On Wed, 28 Feb 2007 07:05:55 -0800 (PST), arry wrote: > I confirm this too. This is a bug from quite some time now. Why didn't you report it then? > What i did was to change to the older version - there it works! Older version of CL-GD? Which one? _______________________________________________ cl-gd-devel site list cl-gd-devel at common-lisp.net http://common-lisp.net/mailman/listinfo/cl-gd-devel --------------------------------- Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games. -------------- next part -------------- An HTML attachment was scrubbed... URL: From edi at agharta.de Wed Feb 28 16:41:33 2007 From: edi at agharta.de (Edi Weitz) Date: Wed, 28 Feb 2007 17:41:33 +0100 Subject: [cl-gd-devel] draw-freetype-string cannot work with utf-8 encoded string In-Reply-To: <471122.42805.qm@web54101.mail.yahoo.com> (arry's message of "Wed, 28 Feb 2007 08:20:11 -0800 (PST)") References: <471122.42805.qm@web54101.mail.yahoo.com> Message-ID: On Wed, 28 Feb 2007 08:20:11 -0800 (PST), arry wrote: > I am currently using cl-gd-0.4.8 on win32. And there Unicode characters work? > I think there was also a problem with the antialiasing feature, (I > did report it) don't know if it is fixed in the newer version??? I haven't checked. I currently don't have a project that uses CL-GD myself. ISTR the last time we talked about this I proposed to ask the libgd developers. Did you? Cheers, Edi. From frinkofox at yahoo.com Wed Feb 28 16:48:42 2007 From: frinkofox at yahoo.com (arry) Date: Wed, 28 Feb 2007 08:48:42 -0800 (PST) Subject: [cl-gd-devel] draw-freetype-string cannot work with utf-8 encoded string In-Reply-To: Message-ID: <20070228164842.63924.qmail@web54113.mail.yahoo.com> Yes, unicode works with UTF-8... No, i didn't ask the guys at libgd ... as i haven't tried antialiasing out of cl-gd ... bye Edi Weitz wrote: On Wed, 28 Feb 2007 08:20:11 -0800 (PST), arry wrote: > I am currently using cl-gd-0.4.8 on win32. And there Unicode characters work? > I think there was also a problem with the antialiasing feature, (I > did report it) don't know if it is fixed in the newer version??? I haven't checked. I currently don't have a project that uses CL-GD myself. ISTR the last time we talked about this I proposed to ask the libgd developers. Did you? Cheers, Edi. _______________________________________________ cl-gd-devel site list cl-gd-devel at common-lisp.net http://common-lisp.net/mailman/listinfo/cl-gd-devel --------------------------------- Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. -------------- next part -------------- An HTML attachment was scrubbed... URL: