Can I use unicode using the gd
Guest
|
Post by Can I use unicode using the gd on Aug 6, 2014 22:36:37 GMT -8
Hello. I simjaeil. Can I use unicode using the gd library? English characters are well represented. Language is not represented Korea. If you use the unicode character space per 2byte. How can I show? Thank you. ============================================================= static void blocktext(int x, int y, byte font, const char *s) { GD.SaveContext(); GD.ColorRGB(0x000000); GD.cmd_text(x-1, y-1, font, 0, s); GD.cmd_text(x+1, y-1, font, 0, s); GD.cmd_text(x-1, y+1, font, 0, s); GD.cmd_text(x+1, y+1, font, 0, s); .RestoreContext(); GD.cmd_text(x, y, font, 0, s); } void loop() { GD.Clear(); blocktext(10,10,ENBRUSH_HANDLE,"NIGHTSTRIKE"); blocktext(10,40,ENBRUSH_HANDLE,"안녕하세요"); GD.swap(); } =========================================================
|
|