summaryrefslogtreecommitdiff
path: root/source/x/fontconfig/fontconfig.font.dir.list.diff
blob: 143d2db5bed3dbe25eb408321f299a3407725f46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- ./fonts.conf.in.orig	2020-11-29 13:41:05.824118087 -0600
+++ ./fonts.conf.in	2020-11-29 13:44:20.417122440 -0600
@@ -23,12 +23,27 @@
 -->
 
 <!-- Font directory list -->
-
-	@FC_DEFAULT_FONTS@
-	@FC_FONTPATH@
+	<dir>/usr/share/fonts/OTF</dir>
+	<dir>/usr/share/fonts/TTF</dir>
+	<dir>/usr/share/fonts/Type1</dir>
+	<dir>/usr/share/fonts/Speedo</dir>
+	<dir>/usr/share/fonts/cyrillic</dir>
+	<dir>/usr/share/fonts/misc</dir>
 	<dir prefix="xdg">fonts</dir>
 	<!-- the following element will be removed in the future -->
 	<dir>~/.fonts</dir>
+<!-- Commented out font directories:
+	These are not indexed by default, as fontconfig then seems
+	to prefer bitmapped fonts in some cases...
+	  <dir>/usr/share/fonts/100dpi</dir>
+	  <dir>/usr/share/fonts/75dpi</dir>
+	The top-level font directory should also not be indexed, as that
+	will include the directories of bitmapped fonts:
+	  <dir>@FC_DEFAULT_FONTS@</dir>
+	The empty line below is produced by the FC_FONTPATH macro.
+	Moving it here so it doesn't become a problem in the future:
+	  @FC_FONTPATH@
+-->
 
 <!--
   Accept deprecated 'mono' alias, replacing it with 'monospace'