Results 1 to 3 of 3

Thread: ugly fonts

  1. #1
    Join Date
    Sep 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default ugly fonts

    I have downloaded and compiled qt 4.7.2 and my qt apps got this ugly alised fonts
    what can I do to get rid of them ?

    I'm running on ubuntu, did the xml thing mentioned in other forums (under ~/.fonts.conf), got qtconfig, called setStyleStrategy on application main font, and none of them worked.
    I got qtconfig4 and the app itself seems like it is qt made, and the fonts on that app are ok, I thought that might be a problem with building Qt, but I didn't configure -no-fontconfig , and also the qtconfig seems to take effect on my app when changing font family and other stuff !

    did I miss something in my code ? or building Qt ?
    Last edited by sepul; 22nd September 2011 at 17:15.

  2. #2
    Join Date
    Sep 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: ugly fonts

    It is solved, in case of anyone else encounters the same thing, I have rebuilt the Qt using -fontconfig flag. it is mentioned in the document that it is the default flag, but it seems, that it wasn't !

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: ugly fonts

    It is the default flag but maybe your system was lacking required development files for fontconfig and configure skipped the flag as unusable. It should mention that fact in configure logs.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. QT 4.7 looks ugly on GNOME!
    By Karit in forum Newbie
    Replies: 6
    Last Post: 24th November 2010, 14:42
  2. QGraphicsView ugly distortion yuck
    By genjix in forum Qt Programming
    Replies: 4
    Last Post: 23rd October 2010, 14:05
  3. QDial looks too ugly, Why not improve it
    By lmax in forum Qt Tools
    Replies: 2
    Last Post: 13th March 2009, 21:03
  4. QTableView Horizontal Bar depressed, looks ugly.
    By killerwookie99 in forum Qt Programming
    Replies: 5
    Last Post: 4th March 2009, 14:01
  5. Ugly move with a top-level setMasked widget
    By nooky59 in forum Qt Programming
    Replies: 11
    Last Post: 17th December 2007, 16:26

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.