dotfiles

git clone https://github.com/notamitgamer/dotfiles.git
· rebuilt hourlyOpen on GitHub
root / config / fonts.conf

fonts.conf (2124B)


      1 <?xml version='1.0'?>
      2 <!DOCTYPE fontconfig SYSTEM 'urn:fontconfig:fonts.dtd'>
      3 <fontconfig>
      4  <!-- 
      5  Artificial oblique for fonts without an italic or oblique version
      6  -->
      7  <match target="font">
      8   <!-- check to see if the font is roman -->
      9   <test name="slant">
     10    <const>roman</const>
     11   </test>
     12   <!-- check to see if the pattern requested non-roman -->
     13   <test compare="not_eq" name="slant" target="pattern">
     14    <const>roman</const>
     15   </test>
     16   <!-- multiply the matrix to slant the font -->
     17   <edit mode="assign" name="matrix">
     18    <times>
     19     <name>matrix</name>
     20     <matrix>
     21      <double>1</double>
     22      <double>0.2</double>
     23      <double>0</double>
     24      <double>1</double>
     25     </matrix>
     26    </times>
     27   </edit>
     28   <!-- pretend the font is oblique now -->
     29   <edit mode="assign" name="slant">
     30    <const>oblique</const>
     31   </edit>
     32   <!-- and disable embedded bitmaps for artificial oblique -->
     33   <edit mode="assign" name="embeddedbitmap">
     34    <bool>false</bool>
     35   </edit>
     36  </match>
     37  <!--
     38  Synthetic emboldening for fonts that do not have bold face available
     39  -->
     40  <match target="font">
     41   <!-- check to see if the weight in the font is less than medium which possibly need emboldening -->
     42   <test compare="less_eq" name="weight">
     43    <const>medium</const>
     44   </test>
     45   <!-- check to see if the pattern requests bold -->
     46   <test compare="more_eq" name="weight" target="pattern">
     47    <const>bold</const>
     48   </test>
     49   <!--
     50 		  set the embolden flag
     51 		  needed for applications using cairo, e.g. gucharmap, gedit, ...
     52 		-->
     53   <edit mode="assign" name="embolden">
     54    <bool>true</bool>
     55   </edit>
     56   <!--
     57 		 set weight to bold
     58 		 needed for applications using Xft directly, e.g. Firefox, ...
     59 		-->
     60   <edit mode="assign" name="weight">
     61    <const>bold</const>
     62   </edit>
     63  </match>
     64  <match target="font">
     65   <edit mode="assign" name="hinting">
     66    <bool>true</bool>
     67   </edit>
     68  </match>
     69  <match target="font">
     70   <edit mode="assign" name="hintstyle">
     71    <const>hintslight</const>
     72   </edit>
     73  </match>
     74  <dir>~/.local/share/fonts</dir>
     75  <match target="font">
     76   <edit mode="assign" name="antialias">
     77    <bool>true</bool>
     78   </edit>
     79  </match>
     80 </fontconfig>