2018년 10월 10일 수요일

Fontconfig

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <!-- workaround for wrong style and weight -->
  <match target="pattern">
    <test qual="any" name="family">
      <string>Ubuntu Mono</string>
    </test>
    <edit mode="append" binding="strong" name="family" >
      <string>D2Coding</string>
    </edit>
  </match>
  <match target="font">
    <test name="family">
      <string>NanumGothic</string>
    </test>
    <edit name="hinting">
      <bool>true</bool>
    </edit>
    <edit name="hintstyle" mode="assign">
      <const>hintfull</const>
    </edit>
  </match>
  <match target="font">
    <test name="family">
      <string>DejaVu Sans Mono</string>
    </test>
    <edit name="hinting">
      <bool>true</bool>
    </edit>
    <edit name="hintstyle" mode="assign">
      <const>hintslight</const>
    </edit>
  </match>
  <match target="font">
    <test name="family">
      <string>Consolas</string>
    </test>
    <edit name="hinting">
      <bool>true</bool>
    </edit>
    <edit name="hintstyle" mode="assign">
      <const>hintslight</const>
      <!--const>hintfull</const-->
    </edit>
    <edit name="pixelsize" mode="assign">
      <plus><name>pixelsize</name>, <double>2.0</double></plus>
    </edit>
  </match>
  <match target="font">
    <test name="family">
      <string>Ubuntu Mono</string>
    </test>
    <edit name="hinting">
      <bool>true</bool>
    </edit>
    <edit name="hintstyle" mode="assign">
      <const>hintfull</const>
    </edit>
    <edit name="pixelsize" mode="assign">
      <plus><name>pixelsize</name>, <double>2.0</double></plus>
    </edit>
  </match>
</fontconfig>

0 개의 댓글:

댓글 쓰기