From: Kazuhisa T. <ta...@va...> - 2002-10-19 09:10:12
|
Hi,all I wrote i18n's TTF text redering support in imlib2. patch's url is http://www.ad-hoc.org/~xtakei/tmp/imlib2-1.0.6-utf8.patch. imlib2 only support TTF test rederring of single byte character until now. Because argument of __imlib_find_hash_index was "char "type . This Patch change definition of __imlib_find_hash_index and char argument is chaged to char * Definition of __imlib_find_hash_index' argument is changed to "char *" in this patch. imlib2 receive not only single byte char but also the character sequence of encoding of UTF8, and rendering UTF8's text in imlib2. naturally the display by anti-alias can also be performed. With this patch Since interface of __imlib_find_hash_index was changed, a problem may come out by others.if there is a better method, I will want anyone to teach. screenshot using this patch is http://www.ad-hoc.org/~xtakei/tmp/imlib2.png. --- Kazuhisa TAKEI ta...@va... -- Engineering Dept,VA Linux Sytems Japan K.K. ta...@vi... -- member of Project Vine. |