Thanks<br><br><div class="gmail_quote">On 4 October 2010 16:05, Hans-Peter Jansen <span dir="ltr"><<a href="mailto:hpj@urpla.net">hpj@urpla.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On Monday 04 October 2010, 15:49:07 pard wrote:<br>
> Hi<br>
><br>
> Is it possible to embed a font into a resource file and set the<br>
> application font from the compiled resource file?<br>
<br>
</div></div>You can add __any__ data to the resource file, but you should keep in mind,<br>
that this data is always loaded into memory on startup.<br>
<br>
Regarding an application font, you need to register it in the QFontDatabase<br>
and set it with QApplication.setFont() as the default font on startup.<br>
<br>
Hth,<br>
Pete<br>
<br>
_______________________________________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</blockquote></div><br>