From: Mihai N. on
Joseph M. Newcomer <newcomer(a)flounder.com> wrote in
news:ejaj24l3ca33rverrf56ob0que1hqd68mm(a)4ax.com:

> Dialogs typically use a "default dialog font", which either has
> ONLY characters U0020..U00FF or has only a tiny subset of the
> Unicode fonts (usually, just enough to
> handle central European, Cyrillic, Hebrew and Arabic...check out
> Character Map). I wanted
> to be able to display as many Unicode characters as possible, and in fact
in my first
> test, the fraction 7/8 would not display in the input controls (although it

"MS Shell Dlg" does quite ok.
It usually maps to "Microsoft Sans Serif" (on non-CCJK OS), then GDI
font-linking kicks in and you also get MS Gothic, MingLiU, SimSun and Gulim.

If you have complext script support installed,
Uniscribe also does some magic and adds more support.
Try this: http://www.mihai-nita.net/article.php?artID=charmapex

So you are quite ok with "MS Shell Dlg" or directly
with "Microsoft Sans Serif"


--
Mihai Nita [Microsoft MVP, Visual C++]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email
From: Gert on
Thanks Joe.

In article <ejaj24l3ca33rverrf56ob0que1hqd68mm(a)4ax.com>,
newcomer(a)flounder.com says...
> Dialogs typically use a "default dialog font", which either has ONLY characters
> U0020..U00FF or has only a tiny subset of the Unicode fonts (usually, just enough to

......
From: Joseph M. Newcomer on
The font specified is "MS Sans Serif", and when I pasted the 7/8 in (copied from Character
Map), all I got was a blot. But when I went back to where it was used, everything worked
fine. Since I needed the general solution, I implemented the code shown. But from what
you suggested, I should have seen the 7/8 symbol displayed, which I didn't.

However, the nature of the app is that whatever font the user has selected is the font I
want to use, so if the user is using wingdings, I will display in wingdings, if the user
has selected Lucida Sans Console I will display in that font, etc.
joe

On Wed, 14 May 2008 00:07:36 -0700, "Mihai N." <nmihai_year_2000(a)yahoo.com> wrote:

>Joseph M. Newcomer <newcomer(a)flounder.com> wrote in
>news:ejaj24l3ca33rverrf56ob0que1hqd68mm(a)4ax.com:
>
>> Dialogs typically use a "default dialog font", which either has
>> ONLY characters U0020..U00FF or has only a tiny subset of the
>> Unicode fonts (usually, just enough to
>> handle central European, Cyrillic, Hebrew and Arabic...check out
>> Character Map). I wanted
>> to be able to display as many Unicode characters as possible, and in fact
>in my first
>> test, the fraction 7/8 would not display in the input controls (although it
>
>"MS Shell Dlg" does quite ok.
>It usually maps to "Microsoft Sans Serif" (on non-CCJK OS), then GDI
>font-linking kicks in and you also get MS Gothic, MingLiU, SimSun and Gulim.
>
>If you have complext script support installed,
>Uniscribe also does some magic and adds more support.
>Try this: http://www.mihai-nita.net/article.php?artID=charmapex
>
>So you are quite ok with "MS Shell Dlg" or directly
>with "Microsoft Sans Serif"
Joseph M. Newcomer [MVP]
email: newcomer(a)flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
From: Tom Serface on
I often hear people say they are afraid to convert their applications to
Unicode because they don't know the effect it will have, but I've found that
the conversion is not as big a deal as you might think.

The font thing is important in many cases though. For example, if you use
MS Serif for Japanese it will work fine on Win XP and Vista, but not on
Win2K (the fonts in the font are different). I think this is becoming less
of a problem as fewer people use Win2K, but you can also install the XP font
on Win2K as well.

I think font choice will be one of your biggest challenges especially if you
have already used the _T() TCHAR macros as is often recommended.

Tom

"Gert" <dont(a)want.no.spam> wrote in message
news:MPG.22933bad9333d2a9989680(a)news.planet.nl...
> Joseph,
>
> You say:
>
>> The misc lines were involved in making sure that the edit controls and
>> static controls use
>> Arial MS Unicode for display of text.
>
> What exactly do you mean here? Any web references to this issue?
>
> I will be converting an application to Unicode in a few months - the
> original was not written Unicode-aware. I understand the other changes I
> need to make, but not the above.
>
> Thanks,
> Gert

From: Tom Serface on
As I mentioned to OP, we've found that MS Sans Serif is missing some
characters (Japanese specifically) on Win2K. We used to use MS Gothic UI,
but I don't really like that font. I find it difficult to find a font that
works for all cases.

Tom

"Mihai N." <nmihai_year_2000(a)yahoo.com> wrote in message
news:Xns9A9F149392E3MihaiN(a)207.46.248.16...
> Joseph M. Newcomer <newcomer(a)flounder.com> wrote in
> news:ejaj24l3ca33rverrf56ob0que1hqd68mm(a)4ax.com:
>
>> Dialogs typically use a "default dialog font", which either has
>> ONLY characters U0020..U00FF or has only a tiny subset of the
>> Unicode fonts (usually, just enough to
>> handle central European, Cyrillic, Hebrew and Arabic...check out
>> Character Map). I wanted
>> to be able to display as many Unicode characters as possible, and in fact
> in my first
>> test, the fraction 7/8 would not display in the input controls (although
>> it
>
> "MS Shell Dlg" does quite ok.
> It usually maps to "Microsoft Sans Serif" (on non-CCJK OS), then GDI
> font-linking kicks in and you also get MS Gothic, MingLiU, SimSun and
> Gulim.
>
> If you have complext script support installed,
> Uniscribe also does some magic and adds more support.
> Try this: http://www.mihai-nita.net/article.php?artID=charmapex
>
> So you are quite ok with "MS Shell Dlg" or directly
> with "Microsoft Sans Serif"