A client recently asked for a certain font to be distributed to all users in their organization because it will be used by their new letterhead.
After a bit of research, I wrote the following vbs script to be called at login:
set WSHShell = CreateObject("WScript.Shell")
set FSO = CreateObject("Scripting.FileSystemObject")
sFontName = "fontname.ttf"
sFontDescription = "font name (True Type)"
FSO.Copyfile "\\servername\fonts\fontname.ttf", "c:\windows\fonts\fontname.ttf"
WSHShell.RegWrite "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts\" + sFontDescription, sFontName
I also scheduled a reboot of all systems across the domain that night to ensure that they ran the new scripts upon logging in the next day.
However there are two issues:
1. On some machines, the font has been copied into the correct directory, and the correct registry key has been created; however, the font doesn't actually show up in Word (or other Office products) and is not usable.
2. On some machines, the font is selectable in Word, and works fine, except it isn't displayed in it's own font-face in the drop-down selection of available fonts. It is displayed in Arial (or something similar) instead. This second issue obviously isn't the biggest deal in the world, but if someone knew how to resolve this, that would be very helpful as well.
Thanks in advance, experts!