-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add iconv to suport multi-language #14
Comments
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. |
The problem remains only with the leveling of the text, I don’t even know which way to look like this is GrText, but I can’t find something. |
Are there any solution ideas? |
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
The text was updated successfully, but these errors were encountered: