I've built a installer by installaware for my application. I'm copying some fonts to windows fonts folder automatically during the installation. When I open the installed application, fonts doesn't displayed correctly until I open and close windows fonts folder or restart the computer. Is there any solution to enable me not need to open fonts folder or restart computer? something like refresh windows newly installed fonts.
I appreciate any suggestions.
The required procedure is described over at MSDN. To summarise:
AddFontResource
orAddFontResourceEx
.WM_FONTCHANGE
message to all top-level windows.It may be easier to find a way to persuade your installer tool to do this work for you.