On Windows, you have to place these "font files" in C:\Windows\Fonts after which they can automagically be used as a QFont :-).<br><br><div class="gmail_quote">On Wed, Dec 15, 2010 at 04:29, Mikael Modin <span dir="ltr"><<a href="mailto:micke.modin@gmail.com">micke.modin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
I've downloaded a new font that I want to use in my application, how<br>
do I get a QFont object to use with QLabel.setFont()?<br>
<br>
Kind regards<br>
Mikael<br>
_______________________________________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Nick Gaens<br>