El Foro

Registering custom font

During install script

Autor Respuestas
monban Monday 3 February 2014 at 6:23
monban

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
gotsanityAnonymous

you might try this, its about half the way down. http://www.playonlinux.com/en/dev-documentation-11.html