Page 15 of 21 FirstFirst ... 51314151617 ... LastLast
Results 141 to 150 of 209

Thread: HOWTO: Make your fonts smooth enough to drool over.

  1. #141
    Join Date
    Apr 2007
    Beans
    73

    Re: HOWTO: Make your fonts smooth enough to drool over.

    Thanks - after reading various schemes for over an hour, I found this simple tweak!

    This works feisty users! - and well.


    Quote Originally Posted by dagnabit dang doohickey View Post
    LCD users may get even better results if you use the following code in your .fonts.conf file. This may work for CRT users as well, but I cannot confirm since I have only used this on my laptop.

    Code:
    <?xml version="1.0"?>
    <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
    
    <!-- the cathectic LCD tweaks, from linuxquestions.org,
    http://www.linuxquestions.org/questions/showthread.php?postid=1361098#post1361098
    -->
    
    <fontconfig>
    
    <!-- Disable sub-pixel rendering. X detects it anyway, and if you set
    this as well, it just looks really horrible  -->
    <match target="font" >
     <edit mode="assign" name="rgba" >
      <const>none</const>
     </edit>
     </match>
     <match target="font" >
     <edit mode="assign" name="hinting">
      <bool>true</bool>
     </edit>
     </match>
     <match target="font" >
     <edit mode="assign" name="hintstyle">
      <const>hintfull</const>
     </edit>
     </match>
    
    <!-- The first part of the 'magic.' This makes the fonts start to look
    nice, but some of the shapes will be distorted, so hinting is needed
    still -->
     <match target="font" >
     <edit mode="assign" name="antialias">
      <bool>true</bool>
     </edit>
     </match>
    
    <!-- Autohinter is not turned on automatically. Only disable this if
    you have recompiled Freetype with the bytecode interpreter, which is
    run automatically. Although to be honest, Freetype are right, there
    isn't much difference between the two. Note that OpenOffice is built
    against the bytecode interpreter, so even if you have compiled it and
    override it with the autohinter, OOo will still use the bytecode
    interpreter -->
     <match target="pattern" >
     <edit mode="assign" name="autohint">
      <bool>true</bool>
     </edit>
     </match>
    
    <!-- Helvetica is a non true type font, and will look bad. This
    replaces it with whatever is the default sans-serif font -->
     <match target="pattern" name="family" >
     <test name="family" qual="any" >
      <string>Helvetica</string>
     </test>
     <edit mode="assign" name="family" >
      <string>sans-serif</string>
     </edit>
     </match>
     <dir>~/.fonts</dir>
    </fontconfig>

    I found this hack here[michael-and-mary.net], who in turn found it from it's original creator here[linuxquestions.org].

  2. #142
    Join Date
    Mar 2007
    Location
    Dallas, TX
    Beans
    55
    Distro
    Ubuntu Studio 10.10 Maverick Meerkat

    Re: HOWTO: Make your fonts smooth enough to drool over.

    This worked great for me. Thanks!

  3. #143
    Join Date
    Dec 2004
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: HOWTO: Make your fonts smooth enough to drool over.

    worked for me also

  4. #144
    Join Date
    Nov 2005
    Beans
    113

    Re: HOWTO: Make your fonts smooth enough to drool over.

    So can someone explain how, after several versions of Ubuntu, these settings aren't built in or accessible from the System menu?

    Regds, m.

  5. #145
    Join Date
    Apr 2007
    Location
    Calooca City, Philippines
    Beans
    177
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Make your fonts smooth enough to drool over.

    thanks alot, really cool

  6. #146
    Join Date
    Mar 2007
    Beans
    716
    Distro
    Lubuntu

    Re: HOWTO: Make your fonts smooth enough to drool over.

    Quote Originally Posted by cmsj View Post
    Something else worth checking is that Gnome is feeding freetype the correct DPI. I'm sure it used to guess this, but both my hoary boxes were wrong when I checked just now.

    Firstly, open a terminal and run:

    xdpyinfo | grep dots

    and you should see something like this:

    -(cmsj@tenshu)-(~)- xdpyinfo | grep dots
    resolution: 112x112 dots per inch

    Now fire up Gnome's font preferences and click the Details button, set the DPI value in there to, in this case, 112. I'm not 100% sure what you do when your display has unequal horizontal and vertical DPIs, which does seem to happen, but I usually pick a value somewhere in the middle.
    In my case Gnome on both machines was at 96, so setting it to 112 makes font sizes larger. You can tweak these down to the same sizes you had before, but in theory it should be rendering them better at that size. Combine that with the autohinting and you should have some very pretty fonts

    That's a really interesting tip!!

    Hmmm... when I set my DPI at 112, the font became really large but very blurry. Thus, I'd recommend that everyone pick a value slightly lower like 105.

    Note: after I adjusted my DPI to 105, the fonts on my desktop like sda2 , hdc3, etc. became a lot clearer.

    Oh and speaking of desktop fonts, does anyone know how to make all desktop icons display the font in black with the drop-down effects turned off?

  7. #147
    Join Date
    May 2006
    Location
    Strasbourg, Fr
    Beans
    2,384
    Distro
    Ubuntu Development Release

    Re: HOWTO: Make your fonts smooth enough to drool over.

    Man this little piece of .conf is just awsome... Thanks a bunch zenwhen !

  8. #148
    Join Date
    Feb 2007
    Location
    St. Louis, MO
    Beans
    4,917
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Make your fonts smooth enough to drool over.

    Give your Ubuntu that XP look with fonts:

    http://www.stchman.com/ms_fonts.html

    This works like a charm.
    Windows XP - Excellent computer virus detector.
    Windows Vista - Most bloat for the money.

    Visit my Ubuntu Resource Website http://www.stchman.com

  9. #149
    Join Date
    Aug 2006
    Location
    US
    Beans
    1,681

    Re: HOWTO: Make your fonts smooth enough to drool over.

    simply awesome.

  10. #150
    Join Date
    May 2006
    Beans
    22

    Re: HOWTO: Make your fonts smooth enough to drool over.

    What's amazing is this thread was started in 2004, and today in May 2007 people are still posting "awesome!", and it's still not a feature of gnome-font-properties.

    I just copied-pasted the xml into my existing .fonts.conf and it does indeed look sweet.

    A note though: I only see a difference above a certain font size. For example, using Bitstream Vera Sans Roman, the text looks normal at 10pt, but super smooth at 11pt and above.

Page 15 of 21 FirstFirst ... 51314151617 ... LastLast

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
  •