April 8th, 2010

Font hinting and Linux Chrome

Here are some lines in my ~/.fonts.conf that made Google Chrome text rendering look one billion times better:
  <match target="font">
    <edit name="autohint" mode="assign">
      <bool>true</bool>
    </edit>
    <edit name="hinting" mode="assign">
      <bool>true</bool>
    </edit>
    <edit mode="assign" name="hintstyle">
      <const>hintslight</const>
    </edit>
  </match>

Cribbed partly from Chromium bug #12179.

Chrome annoyance reduction

I'm earnestly trying to switch from Firefox to Chrome as my default browser on Linux. The most glaring problem was the ugly font rendering (see previous post), but I found a bug report that gave me enough of a hint to fix it.

The next annoyance is middle-clicking into the browser doesn't load the URL in the selection. I've used that gesture for 10+ years on Netscape/Mozilla/Firefox, but in Chrome it does nothing. After searching around, I found I can middle-click into the New Tab button to get a similar effect.

This comment in the bug report made me laugh:

Comment 41 by Nagy.Attila.Gabor, Nov 13, 2009
> Middle clicking on the new tab "+" button 

IMHO this solution so obscure that only those will find it, who are reading through
these bugreports.

That was exactly how I found it.