[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] It's related to Fonts.
From:       Maurizio Berti <maurizio.berti () gmail ! com>
Date:       2020-03-04 9:04:23
Message-ID: CAPn+-XRutNY8UwkKoNjF4Y4gDc57GEEkaSv=YHhfC8TLGWSmGQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@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@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
http://www.jidesk.net

[Attachment #5 (text/html)]

<div dir="ltr">Qt automatically selects the most suitable font if it cannot find the \
selected family.<br><br>If you need to add a custom font, have a look at \
QFontDatabase and its addApplicationFont and \
addApplicationFontFromData.</div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">Il giorno mer 4 mar 2020 alle ore 02:02 Souvik Dutta Chowdhury \
&lt;<a href="mailto:souvik.viksou@outlook.com">souvik.viksou@outlook.com</a>&gt; ha \
scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div \
dir="auto">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?</div>_______________________________________________<br> PyQt mailing list      \
<a href="mailto:PyQt@riverbankcomputing.com" \
target="_blank">PyQt@riverbankcomputing.com</a><br> <a \
href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" rel="noreferrer" \
target="_blank">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br> \
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" \
class="gmail_signature">È difficile avere una convinzione precisa quando si parla \
delle ragioni del cuore. - &quot;Sostiene Pereira&quot;, Antonio Tabucchi<br><a \
href="http://www.jidesk.net" target="_blank">http://www.jidesk.net</a></div>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic