[PyQt] Load font form file

Nick Gaens mail at nickgaens.com
Wed Dec 15 10:11:04 GMT 2010

On Windows, you have to place these "font files" in C:\Windows\Fonts after
which they can automagically be used as a QFont :-).

On Wed, Dec 15, 2010 at 04:29, Mikael Modin <micke.modin at gmail.com> wrote:

> Hi,
> I've downloaded a new font that I want to use in my application, how
> do I get a QFont object to use with QLabel.setFont()?
> Kind regards
> Mikael
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Nick Gaens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20101215/6a8b7e68/attachment.html>

More information about the PyQt mailing list