Results 1 to 2 of 2

Thread: Embed a font in the application

  1. #1
    Join Date
    Jan 2006
    Posts
    122
    Thanks
    16
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Embed a font in the application

    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

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Embed a font in the application

    Since Qt 4.2, QFontDatabase allows loading of TrueType fonts.

    Check out this thread: Is possible to use an "external" font? (especially the link in the last post)
    J-P Nurmi

  3. The following user says thank you to jpn for this useful post:

    Lele (26th October 2006)

Similar Threads

  1. Replies: 22
    Last Post: 14th October 2010, 17:44
  2. Replies: 3
    Last Post: 8th December 2006, 18:51
  3. couldn't open fontconfigs chosen font with Xft!!!
    By Kenneth Freidank in forum Qt Programming
    Replies: 0
    Last Post: 5th October 2006, 03:14
  4. Application default font
    By larry104 in forum Qt Programming
    Replies: 2
    Last Post: 16th September 2006, 01:24
  5. Replies: 1
    Last Post: 14th June 2006, 14:36

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.