Hi...
I have a problem
DrawText function support other language???
Just English???
How can I use font files???
Gapitools supports bitmapped fonts, so you could prepare a bitmap containing special characters (á,è, etc) and load it using Initializefont. You could then use DrawText to display the text correctly, providing you'd mapped the special character to a normal character, e.g "Hello!" would become "Hèllo!" using DrawText. Don't know if Gapitools supports non-standard characters natively, haven't used it much yet.
Yes, as T1 says, DrawText using bitmapped fonts is the way to go.
GapiDraw/Tools actually supports all extended characters using DrawText (bitmapped). The problem is that the TEXT macro does not correctly map extended characters to their ASCII values.
I would suggest doing as T1 says.. Map "é" to "#" or another character you do not use regularly. Stick with characters lower that 128. Or (the advanced way) use the TEXT macro, check the ASCII value of your character, and place the correct character at the correct offset in the bitmapped font.
/Johan
Thanks for your reply..
But my language have so many characters...
Anyway thanks for your assistance
Maybe I have to find the other way..
Thanks
Ok. Hm. I will look into the TEXT mappings and see if I can provide a conversion table from the incorrect TEXT mappings to correct ASCII code. This would solve all issues, and you could write your string native with all extra characters, such as "é".
/Johan