On OS X, monospaced fonts are slightly more weighted than the other fonts. This (I feel) helps bring out the colors more vividly.
Since I am on Linux, I'm trying to replicate the behavior. I'm trying to do this by editing the property "weight" in ~/.fonts.conf
,
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<test name="family">
<string>DejaVu Sans Mono</string>
<string>Bitstream Vera Sans Mono</string>
</test>
<edit name="weight" mode="assign">
<const>medium</const>
</edit>
</match>
</fontconfig>
Apparently, this does not work properly. What happens is that bold face DejaVu or Bitstream mono fonts becomes more bold, and nothing happens to the other.
So how do I fix this?