I'm currently trying to install fonts across a bunch of servers. I've been able to use a script to copy the fonts over and "install" them onto the server but I need to be able to access the fonts without having to turn off the server or log off the account.
I found Windows
Have you tried using the
win32api library? It has the
SendMessage() function which can be used in conjunction with the
For example installing a TTF font file:
import win32api import ctypes import win32con ctypes.windll.gdi32.AddFontResourceA("C:\\Path\\To\\Font\\font.ttf") win32api.SendMessage(win32con.HWND_BROADCAST, win32con.WM_FONTCHANGE)