Page 1 of 1

i need your help for drawtext

PostPosted: Jan 7, 2003 @ 1:06pm
by jack
hello!!!

Is gapidraw can show japanese or chinese word???


when i key in
TCHAR str1[] = TEXT("這是測試資料t");
this is a chinese char,and why can't show on screen??
pls help me,thanks everybody

PostPosted: Jan 7, 2003 @ 4:12pm
by ppcStudios
DrawText is based on the font bitmap you use. Characters are mapped to a particular position in the bitmap. I don't know if there is a better way to do special characters, but I would simply create a font bitmap with those characters in it and access them with the ascii character that corresponds to that position in the bitmap. You can have multiple font bitmaps in a single gapidraw application, so you can still have standard ascii support as well.

-- GR