How are you doing?
I have a question.
I’d like to display Korean characters by Raw Drawing using PgDrawText
function. We have Korean fonts(*.phf)
ASCII characters are displayed well.
ex1.
char *s = “Hello”;
PhPoint_t p = {100, 100};
PgSetFont = “hev18”;
PgSetTextColor(Pg_WHITE);
PgDrawText(s, stren(s), &p, 0);
result:
Hello
But Korean characters are not.
ex2.
char *s ="Korean Characters "; // Actually Korean Characters are broken.
PhPoint_t p = {100, 100};
PgSetFont = “???”; // How can I set this font?
PgSetTextColor(Pg_WHITE);
PgDrawText(s, stren(s), &p, 0);
result:
// Nothing displays.
Is it possible to be showen Korean Characters?
Thanks a lot…
Good day!
de ppojung
(ppojung@yahoo.co.kr)