]> git.sev.monster Git - dotfiles.git/blobdiff - xdg/fontconfig/fonts.conf
update git email and name
[dotfiles.git] / xdg / fontconfig / fonts.conf
index fd68bb17b3509a6c90fa6f3589626579e8839511..44f52a1e9684e6ff516bbc74832282b159da1c8e 100644 (file)
@@ -1,6 +1,33 @@
 <?xml version="1.0"?>
 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
 <fontconfig>
+  <description>prefer Source, Noto, DejaVu, Free; monospace Dina</description>
+
+  <!-- rgb pixel alignment -->
+  <match target="font">
+    <edit name="rgba" mode="assign">
+      <const>rgb</const>
+    </edit>
+  </match>
+
+  <!-- preface 60-generic.conf and prefer no color. 
+       this value is actually not that useful due to implementation detail...
+    -->
+  <match>
+    <test name="lang">
+      <string>und-zsye</string>
+    </test>
+    <test qual="all" name="color" compare="not_eq">
+      <bool>true</bool>
+    </test>
+    <test qual="all" name="color" compare="not_eq">
+      <bool>false</bool>
+    </test>
+    <edit name="color" mode="append">
+      <bool>false</bool>
+    </edit>
+  </match>
+
   <!-- fuck helvetica -->
   <match>
     <test name="family">
   </match>
 
   <!-- set up preferred aliases -->
-  <alias><family>sans-serif</family>
+  <alias binding="same">
+    <family>emoji</family>
+    <prefer>
+      <family>Noto Emoji</family>
+    </prefer>
+  </alias>
+  <alias binding="same">
+    <family>sans-serif</family>
     <prefer>
       <family>Source Sans Pro</family>
       <family>Noto Sans Display</family>
       <family>Noto Sans</family>
       <family>DejaVu Sans</family>
+      <family>FreeSans</family>
     </prefer>
   </alias>
-  <alias><family>serif</family>
+  <alias binding="same">
+    <family>serif</family>
     <prefer>
       <family>Source Serif Pro</family>
       <family>Noto Serif Display</family>
       <family>Noto Serif</family>
       <family>DejaVu Serif</family>
+      <family>FreeSerif</family>
     </prefer>
   </alias>
-  <alias><family>monospace</family>
+  <alias binding="same">
+    <family>monospace</family>
     <prefer>
-      <family>Dina</family>
+      <!-- fontconfig 2.10 broke Dina - ->
+      <family>Dina</family> -->
       <family>Noto Sans Mono</family>
-      <family>DejaVu Mono</family>
-      <family>Ubuntu Mono</family>
+      <family>DejaVu Sans Mono</family>
+      <family>FreeMono</family>
     </prefer>
   </alias>
 </fontconfig>
 
-<!-- vim: set et fenc=utf-8 ft=xml sts=2 sw=2 ts=8 tw=0 :
+
+<!-- vim: set et ft=xml sts=2 sw=2 ts=8 tw=0 :
 -->
This page took 0.0403250000000001 seconds and 4 git commands to generate.