Unsolved List of available fonts
I would like to read all available fonts of an operating system into a QComboBox. How does it work?
JonB last edited by
I'm Python Fresh
I don't find out how to do it. Can you please give an example?
JonB last edited by JonB
Seriously? I expect you to be able to figure this out, whether you are "Python Fresh" or not, there is even an example at https://doc.qt.io/qt-5/qfontdatabase.html#details....
fonts = QFontDatabase() names = fonts.families()
@JonB said in List of available fonts:
fonts = QFontDatabase()
names = fonts.families()
Oh I am sorry. You are right, it was very simple. thank you!
SimonSchroeder last edited by
Even easier: You can use a