FTGL doesn't render extended ascii chars

Started by
0 comments, last by andrew1b 15 years, 5 months ago
Hi everyone, I'm using FTGL to render texts but every time I use some foreign characters such as ã, õ, á, é, etc. in my string the resulting rendered string gets all messed up. I'm rendering my string with Pixmap on Windows (Code::Blocks). As long as I know, these characters shouldn't be a problem since they are in the ASCII label. Does anyone have any idea on how to render these characters without crashing my program? I'm using the font Verdana.TTF and I'm pretty sure it supports unicode and these characters (Am I wrong?) Thanks in advance.
...
Advertisement
Well I solved my problem by using wide characters instead of signed chars. It doesn't seem to be the best solution but it worked.
...

This topic is closed to new replies.

Advertisement