The forum

Registering custom font

During install script

Author Replies
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.playonmac.com/en/dev-documentation-11.html

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com