[PyQt] Refreshing QFontDatabase at runtime ?
michael h
michaelkenth at gmail.com
Sun Feb 5 16:43:07 GMT 2017
>
> I know there exists 'addApplicationFont' from a file. But this is not what
> I want.
>
Why can't you just call this when the font is put into '~/.local/share/fonts',
and it will load on it's own the next time the application is run?
(Assuming that your application is what's creating the file, this would
seem trivial.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170205/adfe84cf/attachment.html>
More information about the PyQt
mailing list