dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles # fast
git clone https://src.adamsgaard.dk/dotfiles.git # slow
Log | Files | Refs | README | LICENSE Back to index

fonts.conf (2479B)


      1 <?xml version='1.0'?>
      2 <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
      3 <fontconfig>
      4 
      5 	<!-- Default font (no fc-match pattern) -->
      6 	<match>
      7 		<edit mode="prepend" name="family">
      8 			<string>Noto Sans</string>
      9 		</edit>
     10 	</match>
     11 
     12 	<!-- Default font for the ja_JP locale (no fc-match pattern) -->
     13 	<match>
     14 		<test compare="contains" name="lang">
     15 			<string>ja</string>
     16 		</test>
     17 		<edit mode="prepend" name="family">
     18 			<string>Noto Sans CJK JP</string>
     19 		</edit>
     20 	</match>
     21 
     22 	<!-- Default sans-serif font -->
     23 	<match target="pattern">
     24 		<test qual="any" name="family"><string>sans-serif</string></test>
     25 		<!--<test qual="any" name="lang"><string>ja</string></test>-->
     26 		<edit name="family" mode="prepend" binding="same"><string>Noto Sans</string>  </edit>
     27 	</match>
     28 
     29 	<!-- Default serif fonts -->
     30 	<match target="pattern">
     31 		<test qual="any" name="family"><string>serif</string></test>
     32 		<edit name="family" mode="prepend" binding="same"><string>Noto Serif</string>  </edit>
     33 		<edit name="family" mode="append" binding="same"><string>IPAPMincho</string>  </edit>
     34 		<edit name="family" mode="append" binding="same"><string>HanaMinA</string>  </edit>
     35 	</match>
     36 
     37 	<!-- Default monospace fonts -->
     38 	<match target="pattern">
     39 		<test qual="any" name="family"><string>monospace</string></test>
     40 		<edit name="family" mode="prepend" binding="same"><string>Noto Sans Mono</string></edit>
     41 		<edit name="family" mode="append" binding="same"><string>Inconsolatazi4</string></edit>
     42 		<edit name="family" mode="append" binding="same"><string>IPAGothic</string></edit>
     43 	</match>
     44 
     45 	<!-- Fallback fonts preference order -->
     46 	<alias>
     47 		<family>sans-serif</family>
     48 		<prefer>
     49 			<family>Noto Sans</family>
     50 			<family>Open Sans</family>
     51 			<family>Droid Sans</family>
     52 			<family>Ubuntu</family>
     53 			<family>Roboto</family>
     54 			<family>NotoSansCJK</family>
     55 			<family>Source Han Sans JP</family>
     56 			<family>IPAPGothic</family>
     57 			<family>VL PGothic</family>
     58 			<family>Koruri</family>
     59 		</prefer>
     60 	</alias>
     61 	<alias>
     62 		<family>serif</family>
     63 		<prefer>
     64 			<family>Noto Serif</family>
     65 			<family>Droid Serif</family>
     66 			<family>Roboto Slab</family>
     67 			<family>IPAPMincho</family>
     68 		</prefer>
     69 	</alias>
     70 	<alias>
     71 		<family>monospace</family>
     72 		<prefer>
     73 			<family>Noto Sans Mono</family>
     74 			<family>Inconsolatazi4</family>
     75 			<family>Ubuntu Mono</family>
     76 			<family>Droid Sans Mono</family>
     77 			<family>Roboto Mono</family>
     78 			<family>IPAGothic</family>
     79 			<family>Symbola</family>
     80 		</prefer>
     81 	</alias>
     82 
     83 </fontconfig>