Guest User

fonts.conf

a guest
Apr 11th, 2021
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.45 KB | None | 0 0
  1. <?xml version='1.0'?>
  2. <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
  3. <fontconfig>
  4.         <!-- default settings -->
  5.         <match target="font">
  6.                 <edit mode="assign" name="antialias">
  7.                         <bool>true</bool>
  8.                 </edit>
  9.                 <edit mode="assign" name="embeddedbitmap">
  10.                         <bool>true</bool>
  11.                 </edit>
  12.                 <edit mode="assign" name="hinting">
  13.                         <bool>true</bool>
  14.                 </edit>
  15.                 <edit mode="assign" name="hintstyle">
  16.                         <const>hintslight</const>
  17.                 </edit>
  18.                 <edit mode="assign" name="lcdfilter">
  19.                         <const>lcddefault</const>
  20.                 </edit>
  21.         </match>
  22.  
  23.         <!-- only enable RGB subpixel AA for large text -->
  24.         <match target="font">
  25.                 <test name="size" qual="any" compare="more">
  26.                         <double>13</double>
  27.                 </test>
  28.                 <edit mode="assign" name="rgba">
  29.                         <const>rgb</const>
  30.                 </edit>
  31.         </match>
  32.         <match target="font">
  33.                 <test name="pixelsize" qual="any" compare="more">
  34.                         <double>17</double>
  35.                 </test>
  36.                 <edit mode="assign" name="rgba">
  37.                         <const>rgb</const>
  38.                 </edit>
  39.         </match>
  40. </fontconfig>
  41.  
Advertisement
Add Comment
Please, Sign In to add comment