You are not logged in.

#1 2010-05-30 13:56:54

choogi
Member
Registered: 2009-10-06
Posts: 60

[SOLVED] Inconsolata Very Blurry?

I've read a lot about Inconsolata as a programming font and decided to give it a try myself.  However, it looks so blurry coming from the repos and I can't seem to figure out how to make it look nice.

This is what my current font (Dejavu Sans Mono) looks like on emacs 23:

dejavua.png

And this is what Inconsolata looks like:

inconsolata.png

I've also tried Inconsolata-g and Consolas from the AUR, but Inconsolata-g has the same problem and Consolas look too freaking bold.

These are the contents of my .fonts.conf file:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 
  <match target="font">
    <!-- Enable anti-aliasing -->
    <edit name="antialias" mode="assign">
      <bool>true</bool>
    </edit>
  </match>

  <match target="font">
    <!-- Enable hinting -->
    <edit name="hinting" mode="assign">
      <bool>true</bool>
    </edit>
    <!-- Enable hinting -->
    <edit name="autohint" mode="assign">
      <bool>true</bool>
    </edit>
  </match>

  <match target="font" >
    <!-- Disable sub-pixel rendering. -->
    <edit mode="assign" name="rgba" >
      <const>none</const>
    </edit>
  </match>

</fontconfig>

I've played around with different auto-hinters (hintfull, hintslight, hintnone) and some of them look okay but nothing like I've seen it in other people's screenshots.  Am I doing something wrong here?  Anybody else use this font have some advice?

EDIT:  The screenshots show how the font looks on my entire system, not just on emacs--I was just using emacs as an example here

Last edited by choogi (2010-06-01 02:22:20)

Offline

#2 2010-05-30 15:24:23

eirika
Member
From: New York
Registered: 2009-09-14
Posts: 65

Re: [SOLVED] Inconsolata Very Blurry?

Hmmm, on my machine when I turned hinting off it looked almost
like yours.

Could you post the following debug information?

$ XFT_DEBUG=2 emacs

Note: This tends to be long if you have lots of fonts.

Offline

#3 2010-05-30 15:27:42

choogi
Member
Registered: 2009-10-06
Posts: 60

Re: [SOLVED] Inconsolata Very Blurry?

Sure, here it is:

XFT_DEBUG=2
XftFontMatch pattern Pattern has 28 elts (size 32)
    family: "Inconsolata"(s)
    slant: 0(i)(s)
    weight: 100(i)(s)
    width: 100(i)(s)
    pixelsize: 13(f)(s)
    spacing: 100(i)(s)
    foundry: "unknown"(s)
    antialias: FcTrue(s)
    hintstyle: 3(i)(s)
    hinting: FcTrue(s)
    verticallayout: FcFalse(s)
    autohint: FcFalse(s)
    globaladvance: FcTrue(s)
    file: "/usr/share/fonts/TTF/ttf-inconsolata.otf"(s)
    index: 0(i)(s)
    scalable: FcTrue(s)
    dpi: 94.9533(f)(s)
    rgba: 0(i)(s)
    scale: 1(f)(s)
    minspace: FcFalse(s)
    charset: 
    0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
    0001: cf03f0fc 67030000 cf3f2d9e 7f03c03f 00040000 00000000 00000000 00000000
    0002: 00000000 00800000 00000000 00000000 00000000 00000000 3f000ac0 00000000
    0020: 77000000 06000047 00000010 00100000 00000000 00001000 00000000 00000000
    0021: 00000000 00000004 00000000 00000000 000a0000 00000000 00000000 00000000
    0022: 00040000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    0024: 00000000 00000008 00000000 00000000 00000000 00000000 00000000 00000000
(s)
    lang: "en-US"(s)
    fontversion: 2147483647(i)(s)
    embolden: FcFalse(s)
    embeddedbitmap: FcTrue(s)
    decorative: FcFalse(s)
    render: FcTrue(s)
    maxglyphmemory: 1048576(i)(s)

XftFontMatch after FcConfig substitutions Pattern has 28 elts (size 32)
    family: "Inconsolata"(s) "DejaVu Sans Mono"(w) "Bitstream Vera Sans Mono"(w) "DejaVu Sans Mono"(w) "Inconsolata"(w) "Andale Mono"(w) "Courier New"(w) "Cumberland AMT"(w) "Luxi Mono"(w) "Nimbus Mono L"(w) "Courier"(w) "Miriam Mono"(w) "VL Gothic"(w) "IPAMonaGothic"(w) "IPAGothic"(w) "Sazanami Gothic"(w) "Kochi Gothic"(w) "AR PL KaitiM GB"(w) "MS Gothic"(w) "UmePlus Gothic"(w) "NSimSun"(w) "MingLiu"(w) "AR PL ShanHeiSun Uni"(w) "AR PL New Sung Mono"(w) "HanyiSong"(w) "AR PL SungtiL GB"(w) "AR PL Mingti2L Big5"(w) "ZYSong18030"(w) "UnBatang"(w) "UnDotum"(w) "Baekmuk Batang"(w) "Baekmuk Dotum"(w) "Baekmuk Gulim"(w) "TlwgTypo"(w) "TlwgTypist"(w) "TlwgTypewriter"(w) "TlwgMono"(w) "Hasida"(w) "Mitra Mono"(w) "GF Zemen Unicode"(w) "Hapax Berbère"(w) "Lohit Bengali"(w) "Lohit Gujarati"(w) "Lohit Hindi"(w) "Lohit Marathi"(w) "Lohit Maithili"(w) "Lohit Kashmiri"(w) "Lohit Konkani"(w) "Lohit Nepali"(w) "Lohit Sindhi"(w) "Lohit Punjabi"(w) "Lohit Tamil"(w) "Meera"(w) "Lohit Malayalam"(w) "Lohit Kannada"(w) "Lohit Telugu"(w) "Lohit Oriya"(w) "LKLUG"(w) "FreeMono"(w) "monospace"(w) "Terafik"(w)
    slant: 0(i)(s)
    weight: 100(i)(s)
    width: 100(i)(s)
    pixelsize: 13(f)(s)
    spacing: 100(i)(s)
    foundry: "unknown"(s)
    antialias: FcTrue(s)
    hintstyle: 3(i)(s)
    hinting: FcTrue(s)
    verticallayout: FcFalse(s)
    autohint: FcFalse(s)
    globaladvance: FcTrue(s)
    file: "/usr/share/fonts/TTF/ttf-inconsolata.otf"(s)
    index: 0(i)(s)
    scalable: FcTrue(s)
    dpi: 94.9533(f)(s)
    rgba: 0(i)(s)
    scale: 1(f)(s)
    minspace: FcFalse(s)
    charset: 
    0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
    0001: cf03f0fc 67030000 cf3f2d9e 7f03c03f 00040000 00000000 00000000 00000000
    0002: 00000000 00800000 00000000 00000000 00000000 00000000 3f000ac0 00000000
    0020: 77000000 06000047 00000010 00100000 00000000 00001000 00000000 00000000
    0021: 00000000 00000004 00000000 00000000 000a0000 00000000 00000000 00000000
    0022: 00040000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    0024: 00000000 00000008 00000000 00000000 00000000 00000000 00000000 00000000
(s)
    lang: "en-US"(s)
    fontversion: 2147483647(i)(s)
    embolden: FcFalse(s)
    embeddedbitmap: FcTrue(s)
    decorative: FcFalse(s)
    render: FcTrue(s)
    maxglyphmemory: 1048576(i)(s)

XftFontMatch after X resource substitutions Pattern has 28 elts (size 32)
    family: "Inconsolata"(s) "DejaVu Sans Mono"(w) "Bitstream Vera Sans Mono"(w) "DejaVu Sans Mono"(w) "Inconsolata"(w) "Andale Mono"(w) "Courier New"(w) "Cumberland AMT"(w) "Luxi Mono"(w) "Nimbus Mono L"(w) "Courier"(w) "Miriam Mono"(w) "VL Gothic"(w) "IPAMonaGothic"(w) "IPAGothic"(w) "Sazanami Gothic"(w) "Kochi Gothic"(w) "AR PL KaitiM GB"(w) "MS Gothic"(w) "UmePlus Gothic"(w) "NSimSun"(w) "MingLiu"(w) "AR PL ShanHeiSun Uni"(w) "AR PL New Sung Mono"(w) "HanyiSong"(w) "AR PL SungtiL GB"(w) "AR PL Mingti2L Big5"(w) "ZYSong18030"(w) "UnBatang"(w) "UnDotum"(w) "Baekmuk Batang"(w) "Baekmuk Dotum"(w) "Baekmuk Gulim"(w) "TlwgTypo"(w) "TlwgTypist"(w) "TlwgTypewriter"(w) "TlwgMono"(w) "Hasida"(w) "Mitra Mono"(w) "GF Zemen Unicode"(w) "Hapax Berbère"(w) "Lohit Bengali"(w) "Lohit Gujarati"(w) "Lohit Hindi"(w) "Lohit Marathi"(w) "Lohit Maithili"(w) "Lohit Kashmiri"(w) "Lohit Konkani"(w) "Lohit Nepali"(w) "Lohit Sindhi"(w) "Lohit Punjabi"(w) "Lohit Tamil"(w) "Meera"(w) "Lohit Malayalam"(w) "Lohit Kannada"(w) "Lohit Telugu"(w) "Lohit Oriya"(w) "LKLUG"(w) "FreeMono"(w) "monospace"(w) "Terafik"(w)
    slant: 0(i)(s)
    weight: 100(i)(s)
    width: 100(i)(s)
    pixelsize: 13(f)(s)
    spacing: 100(i)(s)
    foundry: "unknown"(s)
    antialias: FcTrue(s)
    hintstyle: 3(i)(s)
    hinting: FcTrue(s)
    verticallayout: FcFalse(s)
    autohint: FcFalse(s)
    globaladvance: FcTrue(s)
    file: "/usr/share/fonts/TTF/ttf-inconsolata.otf"(s)
    index: 0(i)(s)
    scalable: FcTrue(s)
    dpi: 94.9533(f)(s)
    rgba: 0(i)(s)
    scale: 1(f)(s)
    minspace: FcFalse(s)
    charset: 
    0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
    0001: cf03f0fc 67030000 cf3f2d9e 7f03c03f 00040000 00000000 00000000 00000000
    0002: 00000000 00800000 00000000 00000000 00000000 00000000 3f000ac0 00000000
    0020: 77000000 06000047 00000010 00100000 00000000 00001000 00000000 00000000
    0021: 00000000 00000004 00000000 00000000 000a0000 00000000 00000000 00000000
    0022: 00040000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    0024: 00000000 00000008 00000000 00000000 00000000 00000000 00000000 00000000
(s)
    lang: "en-US"(s)
    fontversion: 2147483647(i)(s)
    embolden: FcFalse(s)
    embeddedbitmap: FcTrue(s)
    decorative: FcFalse(s)
    render: FcTrue(s)
    maxglyphmemory: 1048576(i)(s)

XftFontMatch result Pattern has 35 elts (size 48)
    family: "Inconsolata"(s)
    familylang: "en"(s)
    style: "Medium"(s)
    stylelang: "en"(s)
    fullname: "Inconsolata"(s)
    fullnamelang: "en"(s)
    slant: 0(i)(s)
    weight: 100(i)(s)
    width: 100(i)(s)
    pixelsize: 13(f)(s)
    spacing: 100(i)(s)
    foundry: "unknown"(s)
    antialias: FcTrue(w)
    hintstyle: 3(i)(s)
    hinting: FcTrue(w)
    verticallayout: FcFalse(s)
    autohint: FcFalse(s)
    globaladvance: FcTrue(s)
    file: "/usr/share/fonts/TTF/ttf-inconsolata.otf"(s)
    index: 0(i)(s)
    outline: FcTrue(s)
    scalable: FcTrue(s)
    dpi: 94.9533(f)(s)
    rgba: 5(i)(w)
    scale: 1(f)(s)
    minspace: FcFalse(s)
    charset: 
    0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
    0001: cf03f0fc 67030000 cf3f2d9e 7f03c03f 00040000 00000000 00000000 00000000
    0002: 00000000 00800000 00000000 00000000 00000000 00000000 3f000ac0 00000000
    0020: 77000000 06000047 00000010 00100000 00000000 00001000 00000000 00000000
    0021: 00000000 00000004 00000000 00000000 000a0000 00000000 00000000 00000000
    0022: 00040000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    0024: 00000000 00000008 00000000 00000000 00000000 00000000 00000000 00000000
(s)
    lang: aa|ast|ay|bi|br|bs|ch|co|cs|da|de|en|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gv|ho|hr|hu|ia|id|ie|io|is|it|lb|mg|nb|nds|nl|nn|no|nr|nso|oc|om|pl|pt|rm|sk|sl|sma|smj|smn|so|sq|ss|st|sv|sw|tk|tl|tn|tr|ts|uz|vo|vot|wa|wen|wo|xh|yap|zu|an|crh|csb|fil|hsb|ht|jv|kj|ku-tr|kwm|lg|li|ms|ng|pap-an|pap-aw|rn|rw|sc|sg|sn|su|za(s)
    fontversion: 66191(i)(s)
    fontformat: "CFF"(s)
    embolden: FcFalse(s)
    embeddedbitmap: FcTrue(s)
    decorative: FcFalse(s)
    render: FcTrue(s)
    maxglyphmemory: 1048576(i)(s)

XftFontMatch pattern Pattern has 28 elts (size 32)
    family: "Inconsolata"(s)
    slant: 0(i)(s)
    weight: 100(i)(s)
    width: 100(i)(s)
    pixelsize: 13(f)(s)
    spacing: 100(i)(s)
    foundry: "unknown"(s)
    antialias: FcTrue(s)
    hintstyle: 3(i)(s)
    hinting: FcTrue(s)
    verticallayout: FcFalse(s)
    autohint: FcFalse(s)
    globaladvance: FcTrue(s)
    file: "/usr/share/fonts/TTF/ttf-inconsolata.otf"(s)
    index: 0(i)(s)
    scalable: FcTrue(s)
    dpi: 94.9533(f)(s)
    rgba: 0(i)(s)
    scale: 1(f)(s)
    minspace: FcFalse(s)
    charset: 
    0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
    0001: cf03f0fc 67030000 cf3f2d9e 7f03c03f 00040000 00000000 00000000 00000000
    0002: 00000000 00800000 00000000 00000000 00000000 00000000 3f000ac0 00000000
    0020: 77000000 06000047 00000010 00100000 00000000 00001000 00000000 00000000
    0021: 00000000 00000004 00000000 00000000 000a0000 00000000 00000000 00000000
    0022: 00040000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    0024: 00000000 00000008 00000000 00000000 00000000 00000000 00000000 00000000
(s)
    lang: "en-US"(s)
    fontversion: 2147483647(i)(s)
    embolden: FcFalse(s)
    embeddedbitmap: FcTrue(s)
    decorative: FcFalse(s)
    render: FcTrue(s)
    maxglyphmemory: 1048576(i)(s)

XftFontMatch after FcConfig substitutions Pattern has 28 elts (size 32)
    family: "Inconsolata"(s) "DejaVu Sans Mono"(w) "Bitstream Vera Sans Mono"(w) "DejaVu Sans Mono"(w) "Inconsolata"(w) "Andale Mono"(w) "Courier New"(w) "Cumberland AMT"(w) "Luxi Mono"(w) "Nimbus Mono L"(w) "Courier"(w) "Miriam Mono"(w) "VL Gothic"(w) "IPAMonaGothic"(w) "IPAGothic"(w) "Sazanami Gothic"(w) "Kochi Gothic"(w) "AR PL KaitiM GB"(w) "MS Gothic"(w) "UmePlus Gothic"(w) "NSimSun"(w) "MingLiu"(w) "AR PL ShanHeiSun Uni"(w) "AR PL New Sung Mono"(w) "HanyiSong"(w) "AR PL SungtiL GB"(w) "AR PL Mingti2L Big5"(w) "ZYSong18030"(w) "UnBatang"(w) "UnDotum"(w) "Baekmuk Batang"(w) "Baekmuk Dotum"(w) "Baekmuk Gulim"(w) "TlwgTypo"(w) "TlwgTypist"(w) "TlwgTypewriter"(w) "TlwgMono"(w) "Hasida"(w) "Mitra Mono"(w) "GF Zemen Unicode"(w) "Hapax Berbère"(w) "Lohit Bengali"(w) "Lohit Gujarati"(w) "Lohit Hindi"(w) "Lohit Marathi"(w) "Lohit Maithili"(w) "Lohit Kashmiri"(w) "Lohit Konkani"(w) "Lohit Nepali"(w) "Lohit Sindhi"(w) "Lohit Punjabi"(w) "Lohit Tamil"(w) "Meera"(w) "Lohit Malayalam"(w) "Lohit Kannada"(w) "Lohit Telugu"(w) "Lohit Oriya"(w) "LKLUG"(w) "FreeMono"(w) "monospace"(w) "Terafik"(w)
    slant: 0(i)(s)
    weight: 100(i)(s)
    width: 100(i)(s)
    pixelsize: 13(f)(s)
    spacing: 100(i)(s)
    foundry: "unknown"(s)
    antialias: FcTrue(s)
    hintstyle: 3(i)(s)
    hinting: FcTrue(s)
    verticallayout: FcFalse(s)
    autohint: FcFalse(s)
    globaladvance: FcTrue(s)
    file: "/usr/share/fonts/TTF/ttf-inconsolata.otf"(s)
    index: 0(i)(s)
    scalable: FcTrue(s)
    dpi: 94.9533(f)(s)
    rgba: 0(i)(s)
    scale: 1(f)(s)
    minspace: FcFalse(s)
    charset: 
    0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
    0001: cf03f0fc 67030000 cf3f2d9e 7f03c03f 00040000 00000000 00000000 00000000
    0002: 00000000 00800000 00000000 00000000 00000000 00000000 3f000ac0 00000000
    0020: 77000000 06000047 00000010 00100000 00000000 00001000 00000000 00000000
    0021: 00000000 00000004 00000000 00000000 000a0000 00000000 00000000 00000000
    0022: 00040000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    0024: 00000000 00000008 00000000 00000000 00000000 00000000 00000000 00000000
(s)
    lang: "en-US"(s)
    fontversion: 2147483647(i)(s)
    embolden: FcFalse(s)
    embeddedbitmap: FcTrue(s)
    decorative: FcFalse(s)
    render: FcTrue(s)
    maxglyphmemory: 1048576(i)(s)

XftFontMatch after X resource substitutions Pattern has 28 elts (size 32)
    family: "Inconsolata"(s) "DejaVu Sans Mono"(w) "Bitstream Vera Sans Mono"(w) "DejaVu Sans Mono"(w) "Inconsolata"(w) "Andale Mono"(w) "Courier New"(w) "Cumberland AMT"(w) "Luxi Mono"(w) "Nimbus Mono L"(w) "Courier"(w) "Miriam Mono"(w) "VL Gothic"(w) "IPAMonaGothic"(w) "IPAGothic"(w) "Sazanami Gothic"(w) "Kochi Gothic"(w) "AR PL KaitiM GB"(w) "MS Gothic"(w) "UmePlus Gothic"(w) "NSimSun"(w) "MingLiu"(w) "AR PL ShanHeiSun Uni"(w) "AR PL New Sung Mono"(w) "HanyiSong"(w) "AR PL SungtiL GB"(w) "AR PL Mingti2L Big5"(w) "ZYSong18030"(w) "UnBatang"(w) "UnDotum"(w) "Baekmuk Batang"(w) "Baekmuk Dotum"(w) "Baekmuk Gulim"(w) "TlwgTypo"(w) "TlwgTypist"(w) "TlwgTypewriter"(w) "TlwgMono"(w) "Hasida"(w) "Mitra Mono"(w) "GF Zemen Unicode"(w) "Hapax Berbère"(w) "Lohit Bengali"(w) "Lohit Gujarati"(w) "Lohit Hindi"(w) "Lohit Marathi"(w) "Lohit Maithili"(w) "Lohit Kashmiri"(w) "Lohit Konkani"(w) "Lohit Nepali"(w) "Lohit Sindhi"(w) "Lohit Punjabi"(w) "Lohit Tamil"(w) "Meera"(w) "Lohit Malayalam"(w) "Lohit Kannada"(w) "Lohit Telugu"(w) "Lohit Oriya"(w) "LKLUG"(w) "FreeMono"(w) "monospace"(w) "Terafik"(w)
    slant: 0(i)(s)
    weight: 100(i)(s)
    width: 100(i)(s)
    pixelsize: 13(f)(s)
    spacing: 100(i)(s)
    foundry: "unknown"(s)
    antialias: FcTrue(s)
    hintstyle: 3(i)(s)
    hinting: FcTrue(s)
    verticallayout: FcFalse(s)
    autohint: FcFalse(s)
    globaladvance: FcTrue(s)
    file: "/usr/share/fonts/TTF/ttf-inconsolata.otf"(s)
    index: 0(i)(s)
    scalable: FcTrue(s)
    dpi: 94.9533(f)(s)
    rgba: 0(i)(s)
    scale: 1(f)(s)
    minspace: FcFalse(s)
    charset: 
    0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
    0001: cf03f0fc 67030000 cf3f2d9e 7f03c03f 00040000 00000000 00000000 00000000
    0002: 00000000 00800000 00000000 00000000 00000000 00000000 3f000ac0 00000000
    0020: 77000000 06000047 00000010 00100000 00000000 00001000 00000000 00000000
    0021: 00000000 00000004 00000000 00000000 000a0000 00000000 00000000 00000000
    0022: 00040000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    0024: 00000000 00000008 00000000 00000000 00000000 00000000 00000000 00000000
(s)
    lang: "en-US"(s)
    fontversion: 2147483647(i)(s)
    embolden: FcFalse(s)
    embeddedbitmap: FcTrue(s)
    decorative: FcFalse(s)
    render: FcTrue(s)
    maxglyphmemory: 1048576(i)(s)

XftFontMatch result Pattern has 35 elts (size 48)
    family: "Inconsolata"(s)
    familylang: "en"(s)
    style: "Medium"(s)
    stylelang: "en"(s)
    fullname: "Inconsolata"(s)
    fullnamelang: "en"(s)
    slant: 0(i)(s)
    weight: 100(i)(s)
    width: 100(i)(s)
    pixelsize: 13(f)(s)
    spacing: 100(i)(s)
    foundry: "unknown"(s)
    antialias: FcTrue(w)
    hintstyle: 3(i)(s)
    hinting: FcTrue(w)
    verticallayout: FcFalse(s)
    autohint: FcFalse(s)
    globaladvance: FcTrue(s)
    file: "/usr/share/fonts/TTF/ttf-inconsolata.otf"(s)
    index: 0(i)(s)
    outline: FcTrue(s)
    scalable: FcTrue(s)
    dpi: 94.9533(f)(s)
    rgba: 5(i)(w)
    scale: 1(f)(s)
    minspace: FcFalse(s)
    charset: 
    0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
    0001: cf03f0fc 67030000 cf3f2d9e 7f03c03f 00040000 00000000 00000000 00000000
    0002: 00000000 00800000 00000000 00000000 00000000 00000000 3f000ac0 00000000
    0020: 77000000 06000047 00000010 00100000 00000000 00001000 00000000 00000000
    0021: 00000000 00000004 00000000 00000000 000a0000 00000000 00000000 00000000
    0022: 00040000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    0024: 00000000 00000008 00000000 00000000 00000000 00000000 00000000 00000000
(s)
    lang: aa|ast|ay|bi|br|bs|ch|co|cs|da|de|en|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gv|ho|hr|hu|ia|id|ie|io|is|it|lb|mg|nb|nds|nl|nn|no|nr|nso|oc|om|pl|pt|rm|sk|sl|sma|smj|smn|so|sq|ss|st|sv|sw|tk|tl|tn|tr|ts|uz|vo|vot|wa|wen|wo|xh|yap|zu|an|crh|csb|fil|hsb|ht|jv|kj|ku-tr|kwm|lg|li|ms|ng|pap-an|pap-aw|rn|rw|sc|sg|sn|su|za(s)
    fontversion: 66191(i)(s)
    fontformat: "CFF"(s)
    embolden: FcFalse(s)
    embeddedbitmap: FcTrue(s)
    decorative: FcFalse(s)
    render: FcTrue(s)
    maxglyphmemory: 1048576(i)(s)

XftFontMatch pattern Pattern has 28 elts (size 32)
    family: "Inconsolata"(s)
    slant: 0(i)(s)
    weight: 100(i)(s)
    width: 100(i)(s)
    pixelsize: 13(f)(s)
    spacing: 100(i)(s)
    foundry: "unknown"(s)
    antialias: FcTrue(s)
    hintstyle: 3(i)(s)
    hinting: FcTrue(s)
    verticallayout: FcFalse(s)
    autohint: FcFalse(s)
    globaladvance: FcTrue(s)
    file: "/usr/share/fonts/TTF/ttf-inconsolata.otf"(s)
    index: 0(i)(s)
    scalable: FcTrue(s)
    dpi: 94.9533(f)(s)
    rgba: 0(i)(s)
    scale: 1(f)(s)
    minspace: FcFalse(s)
    charset: 
    0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
    0001: cf03f0fc 67030000 cf3f2d9e 7f03c03f 00040000 00000000 00000000 00000000
    0002: 00000000 00800000 00000000 00000000 00000000 00000000 3f000ac0 00000000
    0020: 77000000 06000047 00000010 00100000 00000000 00001000 00000000 00000000
    0021: 00000000 00000004 00000000 00000000 000a0000 00000000 00000000 00000000
    0022: 00040000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    0024: 00000000 00000008 00000000 00000000 00000000 00000000 00000000 00000000
(s)
    lang: "en-US"(s)
    fontversion: 2147483647(i)(s)
    embolden: FcFalse(s)
    embeddedbitmap: FcTrue(s)
    decorative: FcFalse(s)
    render: FcTrue(s)
    maxglyphmemory: 1048576(i)(s)

XftFontMatch after FcConfig substitutions Pattern has 28 elts (size 32)
    family: "Inconsolata"(s) "DejaVu Sans Mono"(w) "Bitstream Vera Sans Mono"(w) "DejaVu Sans Mono"(w) "Inconsolata"(w) "Andale Mono"(w) "Courier New"(w) "Cumberland AMT"(w) "Luxi Mono"(w) "Nimbus Mono L"(w) "Courier"(w) "Miriam Mono"(w) "VL Gothic"(w) "IPAMonaGothic"(w) "IPAGothic"(w) "Sazanami Gothic"(w) "Kochi Gothic"(w) "AR PL KaitiM GB"(w) "MS Gothic"(w) "UmePlus Gothic"(w) "NSimSun"(w) "MingLiu"(w) "AR PL ShanHeiSun Uni"(w) "AR PL New Sung Mono"(w) "HanyiSong"(w) "AR PL SungtiL GB"(w) "AR PL Mingti2L Big5"(w) "ZYSong18030"(w) "UnBatang"(w) "UnDotum"(w) "Baekmuk Batang"(w) "Baekmuk Dotum"(w) "Baekmuk Gulim"(w) "TlwgTypo"(w) "TlwgTypist"(w) "TlwgTypewriter"(w) "TlwgMono"(w) "Hasida"(w) "Mitra Mono"(w) "GF Zemen Unicode"(w) "Hapax Berbère"(w) "Lohit Bengali"(w) "Lohit Gujarati"(w) "Lohit Hindi"(w) "Lohit Marathi"(w) "Lohit Maithili"(w) "Lohit Kashmiri"(w) "Lohit Konkani"(w) "Lohit Nepali"(w) "Lohit Sindhi"(w) "Lohit Punjabi"(w) "Lohit Tamil"(w) "Meera"(w) "Lohit Malayalam"(w) "Lohit Kannada"(w) "Lohit Telugu"(w) "Lohit Oriya"(w) "LKLUG"(w) "FreeMono"(w) "monospace"(w) "Terafik"(w)
    slant: 0(i)(s)
    weight: 100(i)(s)
    width: 100(i)(s)
    pixelsize: 13(f)(s)
    spacing: 100(i)(s)
    foundry: "unknown"(s)
    antialias: FcTrue(s)
    hintstyle: 3(i)(s)
    hinting: FcTrue(s)
    verticallayout: FcFalse(s)
    autohint: FcFalse(s)
    globaladvance: FcTrue(s)
    file: "/usr/share/fonts/TTF/ttf-inconsolata.otf"(s)
    index: 0(i)(s)
    scalable: FcTrue(s)
    dpi: 94.9533(f)(s)
    rgba: 0(i)(s)
    scale: 1(f)(s)
    minspace: FcFalse(s)
    charset: 
    0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
    0001: cf03f0fc 67030000 cf3f2d9e 7f03c03f 00040000 00000000 00000000 00000000
    0002: 00000000 00800000 00000000 00000000 00000000 00000000 3f000ac0 00000000
    0020: 77000000 06000047 00000010 00100000 00000000 00001000 00000000 00000000
    0021: 00000000 00000004 00000000 00000000 000a0000 00000000 00000000 00000000
    0022: 00040000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    0024: 00000000 00000008 00000000 00000000 00000000 00000000 00000000 00000000
(s)
    lang: "en-US"(s)
    fontversion: 2147483647(i)(s)
    embolden: FcFalse(s)
    embeddedbitmap: FcTrue(s)
    decorative: FcFalse(s)
    render: FcTrue(s)
    maxglyphmemory: 1048576(i)(s)

XftFontMatch after X resource substitutions Pattern has 28 elts (size 32)
    family: "Inconsolata"(s) "DejaVu Sans Mono"(w) "Bitstream Vera Sans Mono"(w) "DejaVu Sans Mono"(w) "Inconsolata"(w) "Andale Mono"(w) "Courier New"(w) "Cumberland AMT"(w) "Luxi Mono"(w) "Nimbus Mono L"(w) "Courier"(w) "Miriam Mono"(w) "VL Gothic"(w) "IPAMonaGothic"(w) "IPAGothic"(w) "Sazanami Gothic"(w) "Kochi Gothic"(w) "AR PL KaitiM GB"(w) "MS Gothic"(w) "UmePlus Gothic"(w) "NSimSun"(w) "MingLiu"(w) "AR PL ShanHeiSun Uni"(w) "AR PL New Sung Mono"(w) "HanyiSong"(w) "AR PL SungtiL GB"(w) "AR PL Mingti2L Big5"(w) "ZYSong18030"(w) "UnBatang"(w) "UnDotum"(w) "Baekmuk Batang"(w) "Baekmuk Dotum"(w) "Baekmuk Gulim"(w) "TlwgTypo"(w) "TlwgTypist"(w) "TlwgTypewriter"(w) "TlwgMono"(w) "Hasida"(w) "Mitra Mono"(w) "GF Zemen Unicode"(w) "Hapax Berbère"(w) "Lohit Bengali"(w) "Lohit Gujarati"(w) "Lohit Hindi"(w) "Lohit Marathi"(w) "Lohit Maithili"(w) "Lohit Kashmiri"(w) "Lohit Konkani"(w) "Lohit Nepali"(w) "Lohit Sindhi"(w) "Lohit Punjabi"(w) "Lohit Tamil"(w) "Meera"(w) "Lohit Malayalam"(w) "Lohit Kannada"(w) "Lohit Telugu"(w) "Lohit Oriya"(w) "LKLUG"(w) "FreeMono"(w) "monospace"(w) "Terafik"(w)
    slant: 0(i)(s)
    weight: 100(i)(s)
    width: 100(i)(s)
    pixelsize: 13(f)(s)
    spacing: 100(i)(s)
    foundry: "unknown"(s)
    antialias: FcTrue(s)
    hintstyle: 3(i)(s)
    hinting: FcTrue(s)
    verticallayout: FcFalse(s)
    autohint: FcFalse(s)
    globaladvance: FcTrue(s)
    file: "/usr/share/fonts/TTF/ttf-inconsolata.otf"(s)
    index: 0(i)(s)
    scalable: FcTrue(s)
    dpi: 94.9533(f)(s)
    rgba: 0(i)(s)
    scale: 1(f)(s)
    minspace: FcFalse(s)
    charset: 
    0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
    0001: cf03f0fc 67030000 cf3f2d9e 7f03c03f 00040000 00000000 00000000 00000000
    0002: 00000000 00800000 00000000 00000000 00000000 00000000 3f000ac0 00000000
    0020: 77000000 06000047 00000010 00100000 00000000 00001000 00000000 00000000
    0021: 00000000 00000004 00000000 00000000 000a0000 00000000 00000000 00000000
    0022: 00040000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    0024: 00000000 00000008 00000000 00000000 00000000 00000000 00000000 00000000
(s)
    lang: "en-US"(s)
    fontversion: 2147483647(i)(s)
    embolden: FcFalse(s)
    embeddedbitmap: FcTrue(s)
    decorative: FcFalse(s)
    render: FcTrue(s)
    maxglyphmemory: 1048576(i)(s)

XftFontMatch result Pattern has 35 elts (size 48)
    family: "Inconsolata"(s)
    familylang: "en"(s)
    style: "Medium"(s)
    stylelang: "en"(s)
    fullname: "Inconsolata"(s)
    fullnamelang: "en"(s)
    slant: 0(i)(s)
    weight: 100(i)(s)
    width: 100(i)(s)
    pixelsize: 13(f)(s)
    spacing: 100(i)(s)
    foundry: "unknown"(s)
    antialias: FcTrue(w)
    hintstyle: 3(i)(s)
    hinting: FcTrue(w)
    verticallayout: FcFalse(s)
    autohint: FcFalse(s)
    globaladvance: FcTrue(s)
    file: "/usr/share/fonts/TTF/ttf-inconsolata.otf"(s)
    index: 0(i)(s)
    outline: FcTrue(s)
    scalable: FcTrue(s)
    dpi: 94.9533(f)(s)
    rgba: 5(i)(w)
    scale: 1(f)(s)
    minspace: FcFalse(s)
    charset: 
    0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
    0001: cf03f0fc 67030000 cf3f2d9e 7f03c03f 00040000 00000000 00000000 00000000
    0002: 00000000 00800000 00000000 00000000 00000000 00000000 3f000ac0 00000000
    0020: 77000000 06000047 00000010 00100000 00000000 00001000 00000000 00000000
    0021: 00000000 00000004 00000000 00000000 000a0000 00000000 00000000 00000000
    0022: 00040000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    0024: 00000000 00000008 00000000 00000000 00000000 00000000 00000000 00000000
(s)
    lang: aa|ast|ay|bi|br|bs|ch|co|cs|da|de|en|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gv|ho|hr|hu|ia|id|ie|io|is|it|lb|mg|nb|nds|nl|nn|no|nr|nso|oc|om|pl|pt|rm|sk|sl|sma|smj|smn|so|sq|ss|st|sv|sw|tk|tl|tn|tr|ts|uz|vo|vot|wa|wen|wo|xh|yap|zu|an|crh|csb|fil|hsb|ht|jv|kj|ku-tr|kwm|lg|li|ms|ng|pap-an|pap-aw|rn|rw|sc|sg|sn|su|za(s)
    fontversion: 66191(i)(s)
    fontformat: "CFF"(s)
    embolden: FcFalse(s)
    embeddedbitmap: FcTrue(s)
    decorative: FcFalse(s)
    render: FcTrue(s)
    maxglyphmemory: 1048576(i)(s)

Offline

#4 2010-05-30 15:40:15

eirika
Member
From: New York
Registered: 2009-09-14
Posts: 65

Re: [SOLVED] Inconsolata Very Blurry?

autohint is turned off. You would like to turn on both hinting and autohint to have
the desired effect. Try adding this to your .fonts.conf file:

  <match target="font" >
    <test name="family" >
      <string>Inconsolata</string>
    </test>
    <edit mode="assign" name="antialias" >
      <bool>true</bool>
    </edit>
    <edit mode="assign" name="hinting" >
      <bool>true</bool>
    </edit>
    <edit mode="assign" name="autohint" >
      <bool>true</bool>
    </edit>
    <edit mode="assign" name="hintstyle" >
      <const>hintfull</const>
    </edit>
    <edit mode="assign" name="rgba" >
      <const>none</const>
    </edit>
  </match>

The point is to turn on autohint explicitly.
Try again and in the debug information see if autohint has the value FcTrue.

Offline

#5 2010-05-30 15:52:52

choogi
Member
Registered: 2009-10-06
Posts: 60

Re: [SOLVED] Inconsolata Very Blurry?

I added that to my fonts.conf file but it doesn't seem to have had any effect.  Here is the debug information again:

XFT_DEBUG=2
XftFontMatch pattern Pattern has 28 elts (size 32)
    family: "Inconsolata"(s)
    slant: 0(i)(s)
    weight: 100(i)(s)
    width: 100(i)(s)
    pixelsize: 13(f)(s)
    spacing: 100(i)(s)
    foundry: "unknown"(s)
    antialias: FcTrue(s)
    hintstyle: 3(i)(s)
    hinting: FcTrue(s)
    verticallayout: FcFalse(s)
    autohint: FcFalse(s)
    globaladvance: FcTrue(s)
    file: "/usr/share/fonts/TTF/ttf-inconsolata.otf"(s)
    index: 0(i)(s)
    scalable: FcTrue(s)
    dpi: 94.9533(f)(s)
    rgba: 0(i)(s)
    scale: 1(f)(s)
    minspace: FcFalse(s)
    charset: 
    0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
    0001: cf03f0fc 67030000 cf3f2d9e 7f03c03f 00040000 00000000 00000000 00000000
    0002: 00000000 00800000 00000000 00000000 00000000 00000000 3f000ac0 00000000
    0020: 77000000 06000047 00000010 00100000 00000000 00001000 00000000 00000000
    0021: 00000000 00000004 00000000 00000000 000a0000 00000000 00000000 00000000
    0022: 00040000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    0024: 00000000 00000008 00000000 00000000 00000000 00000000 00000000 00000000
(s)
    lang: "en-US"(s)
    fontversion: 2147483647(i)(s)
    embolden: FcFalse(s)
    embeddedbitmap: FcTrue(s)
    decorative: FcFalse(s)
    render: FcTrue(s)
    maxglyphmemory: 1048576(i)(s)

Offline

#6 2010-05-30 16:23:01

eirika
Member
From: New York
Registered: 2009-09-14
Posts: 65

Re: [SOLVED] Inconsolata Very Blurry?

Looks like your system doesn't honor your font config file.
Or at least the section added doesn't have any effect.
If you check your debug info all properties have a trailing
(s) mark. All user specific preferences should have a (w)
mark if you have the section suggested by me in the
~/.fonts.conf file (That's my interpretation based on my experiment,
unfortunately I didn't find any related document, hope
somebody can give me a definite answer).

You can verify if your configuration works by turning off
antialias and look at the output(There should be some
visual difference if it takes in effect).

You can alternatively try specifying the info online:

$ emacs -fn "Inconsolata:hinting=true:autohint=true"

Chances are good that it doesn't work. If there's
no difference in the debug information then of course
there's no difference in appearing at all.

If your user configuration file doesn't have any effect, then
that's the problem. Probably you have some system wide
configuration that overrides this?

Last edited by eirika (2010-05-30 16:38:57)

Offline

#7 2010-05-30 16:30:03

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED] Inconsolata Very Blurry?

I suggest hintslight, for Inconsolata. But then, this is with the myriad of Ubuntu's great font rendering patches.

For millions more font tips, see the Gentoo fonts thread.

Offline

#8 2010-05-30 17:16:17

choogi
Member
Registered: 2009-10-06
Posts: 60

Re: [SOLVED] Inconsolata Very Blurry?

Okay I've included this in my .fonts.conf file to enable autohinting:

  <match target="font">
    <!-- Enable hinting -->
    <edit name="hinting" mode="assign">
      <bool>true</bool>
    </edit>
    <edit name="autohint" mode="assign">
      <bool>true</bool>
    </edit>
    <edit name="hintstyle" mode="assign">
      <const>hintslight</const>
    </edit>
  </match>

The XFT_DEBUG info shows that autohinting is enabled:

XFT_DEBUG=2
XftFontMatch pattern Pattern has 28 elts (size 32)
    family: "DejaVu Sans Mono"(s)
    slant: 0(i)(s)
    weight: 100(i)(s)
    width: 100(i)(s)
    pixelsize: 11(f)(s)
    spacing: 100(i)(s)
    foundry: "unknown"(s)
    antialias: FcTrue(s)
    hintstyle: 3(i)(s)
    hinting: FcTrue(s)
    verticallayout: FcFalse(s)
    autohint: FcFalse(s)
    globaladvance: FcTrue(s)
    file: "/usr/share/fonts/TTF/DejaVuSansMono.ttf"(s)
    index: 0(i)(s)
    scalable: FcTrue(s)
    dpi: 94.9533(f)(s)
    rgba: 0(i)(s)
    scale: 1(f)(s)
    minspace: FcFalse(s)

Yet the font still looks very blurry on emacs--not as much as before but it's still not as crisp as dejavu sans mono.

insolata.png

EDIT:
@brebs: Holy crap, that's quite a fonts.conf you've got there.  How long did you spend putting that thing together?   I tried it out and it makes some of my fonts look better, but for some reason, autohinting seems to make all of my fonts blurrier.  Do I need to do anything else with my system to make autohinting look good?  I have a clean Arch install with all the default font settings.

Last edited by choogi (2010-05-30 17:36:11)

Offline

#9 2010-05-30 17:30:53

eirika
Member
From: New York
Registered: 2009-09-14
Posts: 65

Re: [SOLVED] Inconsolata Very Blurry?

You didn't put the correct image here. What
you showed in your last post is still the result
from Dejavu Sans Momo. Yet the picture doesn't
reflect the result from Inconsolata(I can tell from the
character '0').

Offline

#10 2010-05-30 17:41:09

choogi
Member
Registered: 2009-10-06
Posts: 60

Re: [SOLVED] Inconsolata Very Blurry?

Oops you're absolutely right, but what you can see is that with auto-hinting enabled, Dejavu Sans Mono doesn't look as crisp as in the very first screenshot either.

Here is the result from Inconsolata with autohinting on and using hintslight:

inconsolata.png

Offline

#11 2010-05-30 17:43:46

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED] Inconsolata Very Blurry?

choogi wrote:

How long did you spend putting that thing together?

Flippin' ages! But the results are worth it, to my eyes,

blurrier

Read my first post at Fedora thread, for the ugly truth.

autohinting

Do NOT enable it globally. Notice that I disable it by default, and enable it only for specific fonts (which does not include Inconsolata). Hint hint.

Do I need to do anything else

Yeah - spend hours reading the Gentoo fonts thread, then install Ubuntu's patched font packages.

You could save some time, by ditching Arch and installing Ubuntu tongue

(Disclaimer, before I duck 'n' run: I don't run Ubuntu or Arch)

Last edited by brebs (2010-05-30 17:44:57)

Offline

#12 2010-05-30 18:02:31

eirika
Member
From: New York
Registered: 2009-09-14
Posts: 65

Re: [SOLVED] Inconsolata Very Blurry?

brebs wrote:

autohinting

Do NOT enable it globally. Notice that I disable it by default, and enable it only for specific fonts (which does not include Inconsolata). Hint hint.

Absolutely agree. In many cases it is the source of the fuzzy font appearing for me.


brebs wrote:

You could save some time, by ditching Arch and installing Ubuntu

Depends on one's need. I once ran into a problem in Ubuntu such that a nasty system font configuration file(in /etc/fonts/conf.d)
overrode per user specification. Don't know if I should blame Ubuntu or fontconfig, though.

Back to the topic, if you can have hinting and autohint working, then you need some fine tuning. Try
to read the fontconfig user manual

http://fontconfig.org/fontconfig-user.html

But you can't expect that all fonts appear of the same quality. It's just that.

Last edited by eirika (2010-05-30 18:05:10)

Offline

#13 2010-05-30 18:08:36

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED] Inconsolata Very Blurry?

eirika wrote:

overrode per user specification

Sounds like the bug (with patch) I've been ranting about for years.

Offline

#14 2010-06-01 02:22:09

choogi
Member
Registered: 2009-10-06
Posts: 60

Re: [SOLVED] Inconsolata Very Blurry?

I've been playing around with the different font config options for a while now but can't quite seem to get Inconsolata working to my satisfaction.  I guess whatever other configurations I have in my system don't play well with Inconsolata and my  monitors.

But it's really not that big of deal that I couldn't get the font working.  I think the rest of the fonts on my system look a little better now, and Dejavu Sans Mono also looks excellent--I really just wanted to give Inconsolata a test run since I had read so much about it.  In the process, I also learned a lot about how Linux handles font rendering!

Thanks for all of your help guys.  I couldn't have done it without you!

Offline

Board footer

Powered by FluxBB