Re: Auto-Installing Fonts
- Posted by Brian Jackson <bjackson at 2FARGON.COM> Feb 17, 2000
- 499 views
On Thu, 17 Feb 2000 10:15:07 -0800, Cuny, David at DSS <David.Cuny at DSS.CA.GOV> wrote: >Does anyone know how to programatically install fonts? That is, what's the >Win32 API call to install a font onto a system? > >Thanks! > >-- David Cuny I believe it is a matter of 1) copying the font to the %WINDIR%\Fonts directory, and 2) writing a registry key. The key should be: the Key Name is: 'font name (True Type)' where you include '(True Type)' only if this is a true-type font and the value is the file name with no drive or path information. Let me know if this does the trick, since I haven't actually tested it myself. Good Luck, Brian