I have an eVC app using MFC. To change fonts on objects, I use
CFontHolder.InitializeFont. This works fine for normal Western fonts
like Tahoma, Courier, etc. However, if I use a font like MS Song or
WebDings, the name of the font does not change.

I know these other fonts are installed properly: I can use them from
Word Mobile.

What could be the problem?

Re: MFC Fonts question by jp2code

jp2code
Wed May 09 10:08:46 CDT 2007

Just a guess, but perhaps Pocket PC does not support all of the fonts that
Word Mobile supports.

<gh@nsbasic.com> wrote
>I have an eVC app using MFC. To change fonts on objects, I use
> CFontHolder.InitializeFont. This works fine for normal Western fonts
> like Tahoma, Courier, etc. However, if I use a font like MS Song or
> WebDings, the name of the font does not change.
>
> I know these other fonts are installed properly: I can use them from
> Word Mobile.
>
> What could be the problem?
>



Re: MFC Fonts question by gh

gh
Thu May 10 04:28:08 CDT 2007

Word Mobile is the word processing app on Pocket PC devices.
Everything is being done on the same device.

On May 9, 11:08 am, "jp2code" <poojo.com/mail> wrote:
> Just a guess, but perhaps Pocket PC does not support all of the fonts that
> Word Mobile supports.
>
> <g...@nsbasic.com> wrote
>
> >I have an eVC app using MFC. To change fonts on objects, I use
> > CFontHolder.InitializeFont. This works fine for normal Western fonts
> > like Tahoma, Courier, etc. However, if I use a font like MS Song or
> > WebDings, the name of the font does not change.
>
> > I know these other fonts are installed properly: I can use them from
> > Word Mobile.
>
> > What could be the problem?



Re: MFC Fonts question by jp2code

jp2code
Thu May 10 08:13:43 CDT 2007

I hear what you are saying.

What I am saying is that just because Word Mobile came with a list of fonts
that it could use does not mean that it makes those fonts global so that the
Pocket PC has access to them.

If you wrote a program that had some cool features, you would not typically
make those features freely available to anyone that wanted them - otherwise,
no one would be able to recognize your product.

If you want the Word Mobile fonts, you may have to look into finding a way
to call some "API Like" function that retrieves the fonts from Word Mobile.
An SDK comes immediately to mind. Does Word Mobile offer an SDK that you
could use? If so, look through that SDK to see if there are calls for the
fonts.

Hope that helps.

<gh@nsbasic.com> wrote:
> Word Mobile is the word processing app on Pocket PC devices.
> Everything is being done on the same device.
>



Re: MFC Fonts question by gh

gh
Thu May 10 11:30:12 CDT 2007

I can add additional fonts to the device easily, by copying them into
\Windows\Fonts. If they are standard Western fonts, I can use them
right away, both in my program and in Word Mobile.

I think it has something to do with the fonts themselves and how
InitializeFont works.