Re: It's related to Fonts.

Maurizio Berti <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <CAPn+-XRutNY8UwkKoNjF4Y4gDc57GEEkaSv=YHhfC8TLGWSmGQ@mail.gmail.com>
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 <
[email protected]> 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    [email protected]
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>


-- 
È difficile avere una convinzione precisa quando si parla delle ragioni del
cuore. - "Sostiene Pereira", Antonio Tabucchi
http://www.jidesk.net

_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.