PDA

View Full Version : Embed a font in the application



Lele
26th October 2006, 09:41
Hi,
I'm trying to embed a font in my application but it dosen't seem to me that Qfont can be initialized with an embedded resource, is installing the font in the system before the only way to do that?

Thanks in advance
Bye

jpn
26th October 2006, 09:47
Since Qt 4.2, QFontDatabase allows loading of TrueType fonts.

Check out this thread: Is possible to use an "external" font? (http://www.qtcentre.org/forum/f-qt-programming-2/t-is-possible-to-use-an-external-font-2101.html#3) (especially the link in the last post)