[PyQt] It's related to Fonts.

Maurizio Berti maurizio.berti at gmail.com
Wed Mar 4 09:04:23 GMT 2020

Qt automatically selects the most suitable font if it cannot find the
selected family.

If you need to add a custom font, have a look at QFontDatabase and its
addApplicationFont and addApplicationFontFromData.

Il giorno mer 4 mar 2020 alle ore 02:02 Souvik Dutta Chowdhury <
souvik.viksou at outlook.com> ha scritto:

> Suppose I install a font say Montserrat and use it in my pyqt5 project.
> And now when I ship it another computer without that font what would
> happen? I mean will the text show up in a different font or will it go
> blank or something? And also is there a way for me to overcome this?
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt

È difficile avere una convinzione precisa quando si parla delle ragioni del
cuore. - "Sostiene Pereira", Antonio Tabucchi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200304/66d2ea75/attachment.htm>

More information about the PyQt mailing list