http://bugs.winehq.org/show_bug.cgi?id=10467
--- Comment #65 from Hans Leidekker hans@it.vu.nl 2008-05-12 08:27:03 --- This is what happens basically, for each font face within a given font installer:
CopyFile("C:\windows\temp\IXP000.TMP\Arialbd.TTF", "C\windows\fonts\Arialbd.TTF")
RegOpenKeyEx("SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Fonts") RegSetValueEx("Arial Bold (TrueType)")
AddFontResource("C:\windows\fonts\Arial.TTF") PostMessage(WM_FONTCHANGE)
The file copy and registry setting would be simple additions to winetricks. The AddFontResource and PostMessage calls are there to make the font available to existing and new processes in the current session. I suspect that we don't really need these but if we do a wineboot might provide a usable workaround.