.config/fontconfig/fonts.conf

Mon, 15 Jul 2024 13:22:56 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 15 Jul 2024 13:22:56 -0500
changeset 1176
1cb4636d6d36
parent 501
542f7efa51d0
permissions
-rw-r--r--

Fix for no-nerdfonts experience

<?xml version="1.0"?>
<!--DOCTYPE fontconfig SYSTEM "fonts.dtd">-->
<!-- ~/.fonts.conf for per-user font configuration -->
<fontconfig>
  <alias>
    <family>serif</family>
    <prefer>
      <family>DejaVu Serif Condensed</family>
    </prefer>
  </alias>
  <alias>
    <family>sans-serif</family>
    <prefer>
      <family>DejaVu Sans Condensed</family>
    </prefer>
  </alias>
  <alias>
    <family>sans</family>
    <prefer>
      <family>DejaVu Sans Condensed</family>
    </prefer>
  </alias>
  <alias>
    <family>monospace</family>
    <prefer>
      <family>DejaVu Sans Mono</family>
    </prefer>
  </alias>

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

mercurial