This site is no longer active and is available for archival purposes only. Registration and login is disabled.

i need your help for drawtext


i need your help for drawtext

Postby jack » Jan 7, 2003 @ 1:06pm

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
jack
pm Member
 
Posts: 3
Joined: Jan 7, 2003 @ 1:01pm


Postby ppcStudios » Jan 7, 2003 @ 4:12pm

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
User avatar
ppcStudios
pm Insider
 
Posts: 744
Joined: Aug 23, 2002 @ 3:53pm
Location: Canfield, Ohio


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron