Results 1 to 2 of 2

Thread: X11 fonts

  1. #1
    Join Date
    Mar 2012
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default X11 fonts

    Hello,

    I'm trying to use real xfonts in Qt without success. No matter what XLFD name i pass to QFont::setRawName(xlfd), I always get some kind of substitution. Not the actual XFont. Looking in QT source code, there is allot of functionality regarding xfonts, so there must be actual support for it. Maybe substituting xfont to a true type font is intentional and desired functionality for most users but, I realy have to use real xfonts for my application.

    Is there any solution to this, something I forgot?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: X11 fonts

    I think Qt uses fontconfig on Unix system to actually deal with fonts.
    Maybe check if your fontconfig config sees the fonts.

    Cheers,
    _

Similar Threads

  1. How to fix Qt 4 fonts on Mac OS X 10.9
    By AndyBrice in forum Qt Programming
    Replies: 0
    Last Post: 23rd October 2013, 12:44
  2. Adding Arabic fonts and CJK (China Japan Korean) fonts
    By kishore7771 in forum Qt Programming
    Replies: 0
    Last Post: 30th July 2013, 18:33
  3. pdf with non-vector fonts
    By Buffy in forum Qwt
    Replies: 0
    Last Post: 1st March 2012, 23:32
  4. About Fonts
    By QbelcorT in forum Qt Programming
    Replies: 1
    Last Post: 2nd April 2009, 17:58
  5. How to use qpf fonts
    By yagabey in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 18th September 2008, 07:56

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.