Registering custom font

During install script

Autor Odpowiedzi
monban Monday 3 February 2014 at 6:23

I am attempting to create a PoL installation script for a program that requires a custom font. It's a TTF font, so no conversion or anything required, but I need to get it registered. I can easily copy it into $WINEPREFIX/drive_c/windows/fonts, but it seems I also need to get it into the registry at HKLM/Software/Microsoft/Windows NT/CurrentVersion/Fonts.

I don't see a POL scripting command to register fonts, nor do I see anything handy to manipulate the registry. What is the best-practice way of doing this? Thank you for your attention.

gotsanity Sunday 2 March 2014 at 23:00

you might try this, its about half the way down.