Hi,

I would like that Windows CE loads its fonts on an external USB storage
device.

To do so I set the following registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontPath]
"FontPath"="\\Hard Disk\\System\\Fonts"

It does not work. When I start an application it receives an unhandled
exeption and the application stops. I think that it might be because my USB
device is not mounted when Windows CE try to "load" (I don't know exactly how
it works) all available fonts.

Is there any way to delay the "load" of the fonts or to force the USB
devices to be mounted before?

I have to use an external USB storage device because this is the only place
there is enough room to receive the fonts.

Thank you

Re: Load Fonts From USB Storage Device by K

K
Mon May 30 21:18:57 CDT 2005

You may try to set the "Order" value of the USB Host controller driver to be
"0". (The highest loading order)
But I think it may still *not* solve the issue.
The other way is to use hive-based registry, and let the USB host driver and
the storage class driver loaded in the boot phase.

"JF Morin" <JFMorin@discussions.microsoft.com> ¼¶¼g©ó¶l¥ó·s»D:81E83E98-39A6-460D-894C-B87D6A997407@microsoft.com...
> Hi,
>
> I would like that Windows CE loads its fonts on an external USB storage
> device.
>
> To do so I set the following registry key:
> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontPath]
> "FontPath"="\\Hard Disk\\System\\Fonts"
>
> It does not work. When I start an application it receives an unhandled
> exeption and the application stops. I think that it might be because my
> USB
> device is not mounted when Windows CE try to "load" (I don't know exactly
> how
> it works) all available fonts.
>
> Is there any way to delay the "load" of the fonts or to force the USB
> devices to be mounted before?
>
> I have to use an external USB storage device because this is the only
> place
> there is enough room to receive the fonts.
>
> Thank you



Re: Load Fonts From USB Storage Device by JFMorin

JFMorin
Tue May 31 18:20:44 CDT 2005

I just tried your suggestion (set the Order to zero) without success.
Unfortunately I can not configure the USB storage as the hive destination
because the hive is already stored in an internal flash (not big enough to
contain the fonts).

I'll have to figure out another way to do it but I don't have any other
alternative in mind right now.

Thank you for the reply.

Re: Load Fonts From USB Storage Device by K

K
Tue May 31 21:03:13 CDT 2005

You do *not* need to configure the USB storage as the hive destination
storage, but you just need to activate the USB storage in the boot phase.
That mean in boot phase you activate both your Flash driver and the USB
storage relative drivers. (encloused relative registry settings with ; HIVE
BOOT SECTION)

"JF Morin" <JFMorin@discussions.microsoft.com> ¼¶¼g©ó¶l¥ó·s»D:0BA2AD1B-AC14-4511-977C-5C3EB5C59DED@microsoft.com...
>I just tried your suggestion (set the Order to zero) without success.
> Unfortunately I can not configure the USB storage as the hive destination
> because the hive is already stored in an internal flash (not big enough to
> contain the fonts).
>
> I'll have to figure out another way to do it but I don't have any other
> alternative in mind right now.
>
> Thank you for the reply.



Re: Load Fonts From USB Storage Device by JFMorin

JFMorin
Wed Jun 01 15:33:21 CDT 2005

Your idea gave me some hope but it did not worked. It does not makes any
difference if my USBHDProfile have a MountFlasg equal to 2.

I will spend a few more hours of tests before I give up.

RE: Load Fonts From USB Storage Device by LeslieTrowbridgeMS

LeslieTrowbridgeMS
Thu Jun 02 15:46:16 CDT 2005

All filesystems, including USB external storage devices, are mounted before
fonts are loaded in to the system.

Thanks,
Leslie

This posting is provided "as is" with no warranties, and confers no rights.

"JF Morin" wrote:

> Hi,
>
> I would like that Windows CE loads its fonts on an external USB storage
> device.
>
> To do so I set the following registry key:
> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontPath]
> "FontPath"="\\Hard Disk\\System\\Fonts"
>
> It does not work. When I start an application it receives an unhandled
> exeption and the application stops. I think that it might be because my USB
> device is not mounted when Windows CE try to "load" (I don't know exactly how
> it works) all available fonts.
>
> Is there any way to delay the "load" of the fonts or to force the USB
> devices to be mounted before?
>
> I have to use an external USB storage device because this is the only place
> there is enough room to receive the fonts.
>
> Thank you

RE: Load Fonts From USB Storage Device by JFMorin

JFMorin
Fri Jun 03 15:17:01 CDT 2005

I found out how what my problem is. I had the problem described in KB825898
that is corrected by a QFE. It is identified as 030822_KB825898 in the
december 2004 full Windows CE 4.1 yearly update. I can now use
AddFontResource to load a font targeted by my FontLink. I don't know why but
my font never loaded automatically on a USB device, even if the FontPath
target it.

"Leslie Trowbridge [MS]" wrote:

> All filesystems, including USB external storage devices, are mounted before
> fonts are loaded in to the system.