Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
Like Tree1Likes
Hi Friends ! I am using Debian unstable for last 3-4 months and couldn't configure fonts properly. Fonts were not smooth, installed msttcorefonts , tweaked font config, anti-aliasing etc.. but ...
  1. #1
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316

    Thumbs up Enable Smooth Fonts in Debian.

    Hi Friends !

    I am using Debian unstable for last 3-4 months and couldn't configure fonts properly. Fonts were not smooth, installed msttcorefonts, tweaked font config, anti-aliasing etc.. but result was not good.

    I found a font.conf from somewhere over net ( dont remember link ) and it has changed smoothness drastically. I am really impressed with it.

    Copy font config, save it as font-conf and replace it with .font.conf of your home folder.
    Code:
    cd
    mv .font.conf font.conf.bak
    mv font-conf .font.conf
    Restart X Server and see the difference. Its worth to try. If you like it, delete font.conf.bak file.
    You can use same config in Ubuntu/Kubuntu too.

    font-conf :
    Code:
    <?xml version="1.0"?>
    <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
    <fontconfig>
     <match target="font" >
      <edit mode="assign" name="autohint" >
       <bool>true</bool>
      </edit>
     </match>
     <match target="font" >
      <edit mode="assign" name="rgba" >
       <const>none</const>
      </edit>
     </match>
     <match target="font" >
      <edit mode="assign" name="hinting" >
       <bool>false</bool>
      </edit>
     </match>
     <match target="font" >
      <edit mode="assign" name="hintstyle" >
       <const>hintnone</const>
      </edit>
     </match>
     <match target="font" >
      <edit mode="assign" name="antialias" >
       <bool>true</bool>
      </edit>
     </match>
    </fontconfig>
    Enjoy smooooth Fonts !
    Last edited by devils casper; 02-10-2008 at 02:33 AM.
    aruntom likes this.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  2. #2
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,085
    Hey, thanks for the HowTo, casper.

    Fonts have always been a very touchy subject under Linux for me, too, and I've hated the results every time right after installing the MS core fonts.

    Fortunately, my fonts have looked great under Arch for the last few years, now.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Non-smooth fonts irritate me a lot and I was struggling for last 3-4 months. My search for smooth fonts ends here and I am happy now..
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Just Joined! emerica's Avatar
    Join Date
    Jan 2008
    Location
    Tampa, FL
    Posts
    15
    Wow devils_casper this is a great post! I had to alter your directions a weed bit though. My fontconfig folder is ".fontconfig" not ".font.config". I am using Lenny by the way. But other than that these fonts are smooth! Thanks a lot.

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Hi emerica !

    It was a typo and I have corrected that. Font config filename is .font.conf instead of .font.config. Thanx for pointing it out.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,142
    It works for Gentoo also, thanks DC!
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Quote Originally Posted by MikeTbob View Post
    It works for Gentoo also, thanks DC!
    You are Welcome Mike and thanx for the Info.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #8
    Just Joined!
    Join Date
    Mar 2008
    Posts
    28
    devils casper, you are a God. Now my Mac friends will wish they had a Debian install.

    I have no idea how you figured this out but if you would like to go into details I would be very happy to be your humble student.

    Thanks Lex

  9. #9
    Linux Newbie
    Join Date
    Nov 2007
    Location
    Planet Earth
    Posts
    152
    Hey man!,

    This works fantastic! specially on FireFox.... ...

    Thanks a lot!

    Hugo
    EOF

  10. #10
    Linux User gruven's Avatar
    Join Date
    Dec 2004
    Location
    Arkansas
    Posts
    481
    You can also go into about:config in firefox and do a search for freetype and turn the hinting on.

    I haven't had a problem with fonts not being smooth on my debian box. I use the Liberation-ttf fonts from RedHat and in KDE I just turn smoothing on.

    Of course, I could have changed something and not realized it because I have had this /home partition for ages.

    Linux User #376741
    Preferred Linux Distro: Funtoo
    There is no need to login to the GUI as root!

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •