~tardypad/dotfiles

ref: 7dd5e02494e2821ff6b4fd5758a590ef03b5403b dotfiles/packages/fontconfig/fonts.conf -rw-r--r-- 1.5 KiB
7dd5e024 — Damien Tardy-Panis add mako package config 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

    <match target="font">
        <edit name="antialias" mode="assign"><bool>true</bool></edit>
        <edit name="autohint" mode="assign"><bool>false</bool></edit>
        <edit name="hinting" mode="assign"><bool>true</bool></edit>
        <edit name="hintstyle" mode="assign"><const>hintslight</const></edit>
        <edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
        <edit name="rgba" mode="assign"><const>rgb</const></edit>
        <edit mode="assign" name="embeddedbitmap"><bool>false</bool></edit>
    </match>

  <!-- Default font -->
  <match>
      <edit mode="prepend" name="family">
          <string>Source Sans Pro</string>
      </edit>
  </match>

  <!-- Default sans-serif font -->
  <match target="pattern">
      <test qual="any" name="family"><string>sans-serif</string></test>
      <edit name="family" mode="prepend" binding="same"><string>Source Sans Pro</string></edit>
  </match>

  <!-- Default serif font -->
  <match target="pattern">
      <test qual="any" name="family"><string>serif</string></test>
      <edit name="family" mode="prepend" binding="same"><string>Source Serif Pro</string></edit>
  </match>

  <!-- Default monospace font -->
  <match target="pattern">
      <test qual="any" name="family"><string>monospace</string></test>
      <edit name="family" mode="prepend" binding="same"><string>Source Code Pro</string></edit>
  </match>
</fontconfig>