[PyQt] Is it possible to embed a font in a PyQt application?
Serge Weinstock
serge.weinstock at googlemail.com
Sun Jul 12 15:11:19 BST 2009
Thanks,
Serge
2009/7/12 Giovanni Bajo <rasky at develer.com>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090712/efd767a8/attachment.html
More information about the PyQt
mailing list