[Qt-interest] Packaging a font with the executable for a QTextEdit

Girish Ramakrishnan girish at forwardbias.in
Mon Jun 1 14:14:52 CEST 2009


Raja Sekharan wrote:
> Hi,
> 
> I wish to use a particular font to display text in a QPlainTextEdit.
> When I use a non-standard font and compile the application the
> application uses a different font in a different computer that doesn't
> have the font in it.
> 
> How can I make sure that the same font is displayed?
> 

http://doc.trolltech.com/4.5/qfontdatabase.html#addApplicationFontFromData

Girish



More information about the Qt-interest-old mailing list