SHARE
TWEET

Partly in response to https://redd.it/7kqr5l

grahamperrin Feb 18th, 2018 (edited) 132 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version='1.0'?>
  2. <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
  3. <fontconfig>
  4.  
  5.     <dir>~/.fonts</dir>
  6.  
  7.     <!--    do not use the embedded bitmap instead of the outline
  8.         <https://www.freebsd.org/cgi/man.cgi?query=fonts-conf&sektion=5&manpath=FreeBSD+and+Ports>
  9.         <https://bbs.archlinux.org/viewtopic.php?id=161609> post 2 (2013)
  10.         <https://redd.it/7kqr5l> (2017) -->
  11.     <match target="font">
  12.         <edit name="embeddedbitmap" mode="assign">
  13.             <bool>false</bool>
  14.         </edit>
  15.     </match>
  16.  
  17.     <!--    prefer outline e.g. TrueType instead of bitmap fonts
  18.         <https://bbs.archlinux.org/viewtopic.php?id=161609> post 2 (2013)
  19.         <https://redd.it/4tb2dt> (2016) -->
  20.     <match target="font">
  21.         <edit name="prefer_outline">
  22.             <bool>true</bool>
  23.         </edit>
  24.     </match>
  25.  
  26.     <!--    reject bitmap fonts, except Terminus - prefer PostScript, TrueType et cetera
  27.         <https://forums.freebsd.org/threads/howto-nice-fonts.2021/> (2009)
  28.         <https://redd.it/4tb2dt> (2016) -->
  29.     <selectfont>
  30.         <acceptfont>
  31.             <pattern>
  32.                 <patelt name="family">
  33.                     <string>Terminus</string>
  34.                 </patelt>
  35.             </pattern>
  36.         </acceptfont>
  37.         <rejectfont>
  38.             <pattern>
  39.                 <patelt name="scalable">
  40.                     <bool>false</bool>
  41.                 </patelt>
  42.             </pattern>
  43.         </rejectfont>
  44.     </selectfont>
  45.  
  46. </fontconfig>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top