On CE v4.10 ARM OS with USA locale, I'm seeing
inconsistent output when I try to display characters 0x80
to 0x9F with the Wingdings font.

I have written an application that works fine on W2K.

On CE, my same application doesn't show all of the
characters correctly (rectangles), but some in this range
do show correctly (e.g. 0x81, 0x8D, 0x8F, and 0x90 are OK).

I see the same thing when I created a web page to show
this range of characters. Looks good in W2K, but not in
CE's PIE.

I then created a Word doc with this character range. Looks
OK on W2K and also looks correct on CE Word Viewer.

I do have the Wingdings font installed on the CE unit.

What is Word viewer doing differently that makes it work
correctly?

I've tried both DrawText() and ExtTextOut() APIs. I've
also tried variations of creating the font and attaching
it to the CDC.

Extended characters don't consistantly show by Barry

Barry
Thu Aug 26 13:28:30 CDT 2004

More Info:

Looks like the TEXT() macro converts characters in the
0x80 to 0x9F range to other Unicode characters based on
the code page 1252. With the exception of 5 characters
which are marked as windows reserved.

This would probably be the desired action if the text were
to be rendered with a font that supports code pages.

Wingdings doesn't, so the mapping goes to characters which
are undefined in the font and don't correctly render.

If, however, I define the string with byte values instead
of the TEXT() macro, it renders the correct characters on
screen.

So I have a root cause, but no workable solution as yet.

>-----Original Message-----
>On CE v4.10 ARM OS with USA locale, I'm seeing
>inconsistent output when I try to display characters 0x80
>to 0x9F with the Wingdings font.
>
>I have written an application that works fine on W2K.
>
>On CE, my same application doesn't show all of the
>characters correctly (rectangles), but some in this range
>do show correctly (e.g. 0x81, 0x8D, 0x8F, and 0x90 are
OK).
>
>I see the same thing when I created a web page to show
>this range of characters. Looks good in W2K, but not in
>CE's PIE.
>
>I then created a Word doc with this character range.
Looks
>OK on W2K and also looks correct on CE Word Viewer.
>
>I do have the Wingdings font installed on the CE unit.
>
>What is Word viewer doing differently that makes it work
>correctly?
>
>I've tried both DrawText() and ExtTextOut() APIs. I've
>also tried variations of creating the font and attaching
>it to the CDC.
>
>.
>