summaryrefslogtreecommitdiffstats
path: root/system/CNS11643-font/35-CNS11643-font.conf
blob: 9a7c7ddea6bbb3404c46361717d043b3fd1d17fb (plain)
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- TW-Kai and TW-Sung Configure File -->
<fontconfig>
  <match target="font">
    <test qual="any" name="family">
      <string>TW-Sung</string>
    </test>
    <test qual="any" name="family">
      <string>全字庫正宋體</string>
    </test>
    <test qual="any" name="family">
      <string>TW-Sung-Plus</string>
    </test>
    <test qual="any" name="family">
      <string>全字庫正宋體 Plus</string>
    </test>
    <test qual="any" name="family">
      <string>TW-Sung-Ext-B</string>
    </test>
    <test qual="any" name="family">
      <string>全字庫正宋體 Ext-B</string>
    </test>
    <test qual="any" name="family">
      <string>TW-Kai</string>
    </test>
    <test qual="any" name="family">
      <string>全字庫正楷體</string>
    </test>
    <test qual="any" name="family">
      <string>TW-Kai-Plus</string>
    </test>
    <test qual="any" name="family">
      <string>全字庫正楷體 Plus</string>
    </test>
    <test qual="any" name="family">
      <string>TW-Kai-Ext-B</string>
    </test>
    <test qual="any" name="family">
      <string>全字庫正楷體 Ext-B</string>
    </test>
  </match>
  <match target="pattern">
    <test name="family" compare="eq">
      <string>TW-Sung</string>
    </test>
    <edit name="family" mode="prepend" binding="strong">
      <string>DejaVu Serif</string>
    </edit>
  </match>
  <match target="pattern">
    <test name="family" compare="eq">
      <string>TW-Kai</string>
    </test>
    <edit name="family" mode="prepend" binding="strong">
      <string>DejaVu Sans Light</string>
    </edit>
  </match>
  <alias>
    <family>TW-Sung</family>
    <prefer>
      <family>DejaVu Serif:book</family>
      <family>Liberation Sans</family>
      <family>Bitstream Vera Serif</family>
      <family>TW-Sung</family>
      <family>TW-Sung-Plus</family>
      <family>TW-Sung-Ext-B</family>
    </prefer>
  </alias>
  <alias>
    <family>TW-Kai</family>
    <prefer>
      <family>DejaVu Sans Light:book</family>
      <family>Bitstream Vera Sans</family>
      <family>TW-Kai</family>
      <family>TW-Kai-Plus</family>
      <family>TW-Kai-Ext-B</family>
    </prefer>
  </alias>
  <alias>
    <family>serif</family>
    <prefer>
      <family>DejaVu Serif:book</family>
      <family>Liberation Serif</family>
      <family>Bitstream Vera Serif</family>
      <family>TW-Sung</family>
      <family>TW-Sung-Plus</family>
      <family>TW-Sung-Ext-B</family>
    </prefer>
  </alias>
  <alias>
    <family>sans</family>
    <prefer>
      <family>DejaVu Sans Light:book</family>
      <family>Liberation Sans</family>
      <family>Bitstream Vera Sans</family>
      <family>TW-Kai</family>
      <family>TW-Kai-Plus</family>
      <family>TW-Kai-Ext-B</family>
    </prefer>
  </alias>
  <alias>
    <family>monospace</family>
    <prefer>
      <family>DejaVu Sans Mono</family>
      <family>Liberation Sans Mono</family>
      <family>Bitstream Vera Sans Mono</family>
      <family>TW-Sung</family>
      <family>TW-Sung-Plus</family>
      <family>TW-Sung-Ext-B</family>
    </prefer>
  </alias>
</fontconfig>