[PyQt] Is it possible to embed a font in a PyQt application?
Giovanni Bajo
rasky at develer.com
Sun Jul 12 12:41:06 BST 2009
On Sun, 12 Jul 2009 11:27:05 +0100, Serge Weinstock
<serge.weinstock at googlemail.com> wrote:
> I'm currently working on a small application for learning the
International
> Phonetic Alphabet (
> http://en.wikipedia.org/wiki/IPA_chart_for_English_dialects).
>
> I have a font which can display these symbols but I would like to avoid
its
> installation in the system just for displaying it.
>
> Is it possible to make qt display fonts read from files and not from the
> system installed fonts?
QFontDatabase::addApplicationFont().
It of course also transparently supports reading the font from Qt
resources.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
More information about the PyQt
mailing list