Page 1 of 1
Showing special charactes with SGDK
Posted: Sun Jan 13, 2013 11:16 pm
by Manveru
Hello guys. I am using SGDK and programming some spanish stuff and i need some special characters like 'ñ'. '¡' or '¿'. How can i show these characters with VDP_drawText? Which characters can i print with VDP_drawText or other function?
Thanks.
Posted: Mon Jan 14, 2013 4:48 pm
by oofwill
I'm afraid you'll have to draw your own font...
Or just replace unused characters by your new in memory...
This is the easiest way, to use it with VDP_drawText().
Posted: Mon Jan 14, 2013 4:52 pm
by Stef
To preserve vram sgdk only use a 96 font characters with the default ascii charset (no accent). You can override the default font with VDP_loadFont(..) but you should look the default font implementation and probably replace some specials characters with yours.
Posted: Mon Jan 14, 2013 6:21 pm
by Manveru
Thanks guys, i will replace some characters i do not need.