tags:

views:

151

answers:

1

What's the trick to make a font file copied to the fonts directory and then added using AddFontResource available after a reboot?

+3  A: 

This MSDN page has this to say:

This function installs the font only for the current session. When the system restarts, the font will not be present. To have the font installed even after restarting the system, the font must be listed in the registry.

I believe the key you need is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts

Bing
I must have been blind yeasterday - because I looked for that key and couldn't find it on my machine. Now I see it clearly.
danbystrom