Hi guys,
I currently working on a library for the NekoVM to create a binding to Freetype 2. It is written in plain c and it all works really nice, except when the user enters some unicode chars like "ü", "Ä" or "ß" they will be transformed into to some ugly square-like letters.
When I recieve the data from the NekoVM you use val_string
which returns a char*
. The function (FT_Load_Char
) where you push the data into freetype expects a unsigned long as char code. (Every letter is processed on its own.)
What to do get the characters rendered correctly? I also have the option to convert them into any ISO-8859-XX code page before submitting them into the c written library.