jojje
Wed Sep 26 01:55:31 CDT 2007
Indeed. Thanks a lot! That should work.
But I'm still wondering about why adding a FontPath value in the
registry doesn't work. Is the new path added in FontPath the default
directory where all fonts should be loaded (reading the online help
gives you that idea)? If so, do I need to store all fonts here? I only
stored the chinese font here. Could this be why it doesn't work. I
guess some more testing would give some answers...
Oh, well. I'll probably go with your method, <ctacke/>.
Thansk,
Jojje
On 25 Sep, 17:16, "<ctacke/>" <ctacke[at]opennetcf[dot]com> wrote:
> This might be useful:
>
>
http://blog.opennetcf.org/ctacke/PermaLink,guid,18c06cd4-f442-46fe-a5...
>
> --
>
> Chris Tacke, Embedded MVP
> OpenNETCF Consulting
> Managed Code in an Embedded Worldwww.OpenNETCF.com
>
> <jojje.an...@gmail.com> wrote in message
>
> news:1190702583.024812.257090@o80g2000hse.googlegroups.com...
>
> > No, the application is also on the storage card, and I start it
> > manually from the storage card.
>
> > Can it be that the OS reads the FontPath value in registry at boot up
> > and at that time the storage card hasn't been mounted?
>
> > Just to test, I used the folder \Temp (in RAM) as the FontPath. This
> > didn't work either.
>
> > Thanks,
> > Jojje
>
> > On 24 Sep, 17:52, "Bruce Eitman [eMVP]"
> > <beitman.nos...@applieddata.net.nospam> wrote:
> >> Is it possible that when your app starts that the storage card hasn't
> >> been
> >> mounted yet?
>
> >> --
> >> Bruce Eitman (eMVP)
> >> Senior Engineer
> >> beitman AT applieddata DOT net
>
> >> Applied Data Systems
> >> www.applieddata.net
> >> An ISO 9001:2000 Registered Company
> >> Microsoft WEP Gold-level Member
>
> >> <jojje.an...@gmail.com> wrote in message
>
> >>news:1190646589.468451.37180@g4g2000hsf.googlegroups.com...
>
> >> > Hi,
>
> >> > I'm trying to load fonts from SD-card instead of \Windows. I've added
>
> >> > [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontPath]
> >> > "FontPath"="\\Storage Card\\Media\\Fonts"
>
> >> > to the registry.
>
> >> > Here I store sunfon.ttf. When trying to write chinese (using SC_Song
> >> > font) I only get squares. If I copy sunfon.ttf to \Windows, without
> >> > rebooting platform (only restarting the application which displays a
> >> > chinese string), I get correct chinese characters.
>
> >> > Any ideas? Why doesn't FontPath work?
>
> >> > My system is Windows CE 5.0 on a Samsung S3C2410 platform.
>
> >> > Regards,
> >> > Jojje