[PyQt] Load font form file

Mikael Modin micke.modin at gmail.com
Wed Dec 15 12:41:10 GMT 2010


I've added it to the QFontDatabase and then I could create it, I just
had to download a font editor to find out the family name of the font.
Thanks :)


On 15 December 2010 21:34, Hans-Peter Jansen <hpj at urpla.net> wrote:
> On Wednesday 15 December 2010, 04:29:26 Mikael Modin 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()?
> Hmm, mostly answered in the second last thread regarding fonts in this
> ML:
> http://www.riverbankcomputing.com/pipermail/pyqt/2010-October/028029.html
> Pete
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt

More information about the PyQt mailing list