views:

45

answers:

3

I would like to install a specific font on my program load and use that font in rendering text of the program. How can I programmatically install a font from .NET CF on WinCE 6.

A: 

Copy font *.ttf file to Windows\Fonts folder, it may requires restarting your device.

STO
I cannot restart the device, it restores to original state when restart. So, I must install the font everytime my program launch. And plus, there's no Windows\Font folder. Any other way?
VOX
+1  A: 

This blog entry shows how to enumerate and add Fonts in Windows CE.

ctacke
that is great article. thanks ctacke.
VOX
can you please kindly translate that C++ code to C# one ?
VOX