/etc insider

since 1999 (and still editing)

How to increase font size with fonts.conf voodoo

| Comments

Did you ever notice that some font faces are in fact look smaller than others of same font size? Trying to fix it I digged the whole Internet finding suggestions “to re-scale” the fonts in question only, so there was none else left to do except to parse the manual until I wrote it:

1
2
3
4
5
6
7
8
9
10
11
<!--  Scaling a chosen font with Fontconfig.
  By poige, 2008.
 -->
<match target="font">
  <test name="family">
      <string>Liberation Sans</string>
  </test>
  <edit name="pixelsize" mode="assign">
      <times><name>pixelsize</name>, <double>1.1</double></times>
  </edit>
</match>

Comments