How to fix ugly fonts in Qt-based applications

I was using Qt Creator and tried to change the editor’s font to Monaco, 9. But hey, Monaco is not that ugly:

Monaco before fix

So I googled a way to fix for this problem, and found the fix at Arch Linux forums. You’ll need to create a file called .fonts.conf in your home directory with this content:

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
   <match target="font" >
      <edit mode="assign" name="rgba" >
   <match target="font" >
      <edit mode="assign" name="hinting" >
   <match target="font" >
      <edit mode="assign" name="hintstyle" >
   <match target="font" >
      <edit mode="assign" name="antialias" >

I closed Qt Creator and reopened it. The result was this:

Monaco after fix

16 Responses

  1. Handzo December 1, 2013 / 16:51

    Thanks, that works perfect!

  2. winuser May 3, 2014 / 15:26

    Hell yeah, that worked for me too (Fedora 20 MATE), thanks !

  3. 当店は信頼できるルイヴィトンスーパーコピーN級品販売店。100%実物写真ですし、品質が完璧です。高品質ルイヴィトンコピー,安全税関対策+素早い配送+随時の在庫補給+丁寧な対応+スーパーコピー販売業界最低価格に挑戦!ルイヴィトンスーパーコピー

  4. 当店は信頼できるルイヴィトンスーパーコピーN級品販売店。100%実物写真ですし、品質が完璧です。高品質ルイヴィトンコピー,安全税関対策+素早い配送+随時の在庫補給+丁寧な対応+スーパーコピー販売業界最低価格に挑戦!ルイヴィトンスーパーコピー

  5. Sagar May 18, 2016 / 10:18

    Out of 32 NFL teams, there are currently 5 black head coaches.2 of them are in conference champonship games.And you still have goobers bitchin about the &qoou;Rtoney Rule" and Affirmative Action.Lawd.

  6. Rosie May 18, 2016 / 11:20

    Je me demande si les stats tiennent compte du 2ème prénom : mohammed martin Ben Ali ou alors Oliver Ben Mohammed Taylor !héhé les pauvres bébés à peine nés et déjà stigmatisés – à tous les futurs parents – choisissez des prénoms originaux un peu – parce que ni Oliver Twist ni Mohammed d’Arabie n’a eu d&crfuo;enqanse joyeuse !

  7. william2789 August 2, 2016 / 9:02

    amazing, Thanks for sharing.
    checkout this amazing free HD movie streaming app.

  8. David Issac September 14, 2017 / 7:56

    I have to get lots of update from your blog this was really helpful for me, most of the application really approachable for my project.

  9. shakeelaviola February 12, 2018 / 23:56

    I see the article on your web very good and interesting ,, do not forget visit also my web botim app download – You can get info on the new Video & Voice Call Application, Chat and calls are encrypted and not blocked.

  10. shakeelaviola February 13, 2018 / 2:01

    I see the article on your web very good and interesting ,, do not forget visit also my web app1download – . You can get info about app download free for android iOs

  11. shakeelaviola February 13, 2018 / 6:37

    I see the article on your web very good and interesting ,, do not forget visit also my web android game download – . You can get info about Popular android games download list for free

  12. busybox pro ios February 20, 2018 / 4:00

    I appreciating your knowledge Good very informative thank you for sharing

  13. mobdro 2018 March 22, 2018 / 9:25

    i like your way to describe this topic for all new users.

Leave a Reply

Your email address will not be published. Required fields are marked *