On Fri, 30 Mar 2007 07:15:02 +0900, Jong-won Choi <jc@itsec.co.kr> wrote:
I don't know much about gd and cl-gd and currently I don't understand what :convert-chars does so I'm trying to understand it.
When I tried utf-8 Korean string with test-020, it did not render characters correctly. But if I set ':convert-chars nil' all the characters rendered correctly.
I guess maybe gd itself handles non-ascii characters correctly(if this is true, maybe the :convert-chars can be removed from the function)
Please use Korean string "커먼리습" (utf-8 encoded) for "Common Lisp", install ttf-unfonts package(Ubuntu and Debian), and use "/usr/share/fonts/truetype/unfonts/UnBatang.ttf" to exercise it with test-020.
That's the result I get: http://miles.agharta.de/strings.png Is that wrong? Are you sure you're using the latest version of CL-GD?