Someone send this to me once (don't remember who..):
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can register a font (temporarily) like this:
Load DLL "gdi32.dll",1
success = call dll(1,"AddFontResourceA","MyFont.TTF")
Delete DLL 1
and remove it:
Load Dll "gdi32.dll",1
call dll 1,"RemoveFontResourceA","MyFont.TTF")
Delete DLL 1
The variable returns the number of Fonts that were installed. In this case (TTF-Files)
either 1 or 0. If the function returns "0" you can skip the RemoveFontResource part,
although the font will not be removed anyway (unless you overwrote the original font).