Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

lfCharSet and unicode

129 views
Skip to first unread message

Jack Chen

unread,
Nov 19, 2009, 3:30:01 AM11/19/09
to
hi, I want to draw a unicode string(WCHAR type), what should i set to the
lfCharSet of the LOGFONT struct when i creating the font? is this "lfCharSet
" important with unicode(wide char) strings? thanks.

Paul G. Tobey [ eMVP ]

unread,
Nov 20, 2009, 9:57:01 AM11/20/09
to
What you're doing is asking the OS to select a font for you. If you don't
care what character set you want, which seems unlikely, then you can choose
the default. If you know that you're displaying Shift-JIS characters, you
specify that. If you're displaying Russian language strings, choose that,
etc. We can't tell you what to pick; you have to select what matches the
text you are going to display using the font.

Paul T.

0 new messages