|
umlauts'ä ö ü' with al_draw_text() |
nico_c++
Member #16,940
January 2019
|
HEY Guys, Simple question: I am sitting on a simple Allegro Game, but always, when I draw text, it doesnt project umlauts on the screen. Greetings |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Okay, a few things. 1. You have to save your source file as Unicode. Whether that's UTF-8 or something else is okay. 2. Your ttf font has to support those characters. 3. It should work now. 4. If not, try using unicode literals in your code. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
nico_c++
Member #16,940
January 2019
|
Allright, thanks, I didnt thought of the ttf having umlauts. |
Edgar Reynaldo
Major Reynaldo
May 2007
|
If you still can't get it to work, post your font and your source code. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
|