Open hzlooker opened 5 years ago
Hi,
Thanks a lot! Can you attach the devfont.c file directly, it didn't show well above. I can then look at it and merge it into the repo.
What languages did you test this with?
Regards,
Greg
get it. test language include : GB18030, Vietnamese,Japanese,Korean,BIG5 and more.
Hi,guys, the function int GdConvertEncoding
(const void istr, MWTEXTFLAGS iflags, int cc, void ostr, MWTEXTFLAGS oflags)
int the file devfont.c can not convert a multi-language UTF8 string to UTF-16 string but ASCII. so I add the iconv lib to make this function can convert multi-language UTF8 string to a right way. maybe someone need it. by the way in config need add libiconv and libcharset
devfont.c
devfont.zip