CreateScalableFontResource(0,Name of .TTF,Name of .FOT to Create,0)
to generate the .FOT from the .TTF, then AddFontResource(Name of .FOT generated)
, and finally SendMessage(HWND_BROADCAST, WM_FONTCHANGE,0,0)
, but I could be wrong - InstallShiedl handles the task transparently, and I only do one font install programmatically from a VFP app, and it's possible that it gets called every time I try to reference the needed font. You do need to place it in the CSLID for the Windows Font directory during the copy process before installation.