aboutsummaryrefslogtreecommitdiff
path: root/fontconfig/local.conf
diff options
context:
space:
mode:
Diffstat (limited to 'fontconfig/local.conf')
-rw-r--r--fontconfig/local.conf37
1 files changed, 37 insertions, 0 deletions
diff --git a/fontconfig/local.conf b/fontconfig/local.conf
new file mode 100644
index 000000000..9f8beee66
--- /dev/null
+++ b/fontconfig/local.conf
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<!-- /etc/fonts/local.conf file for local customizations -->
+<fontconfig>
+<!--
+ Enable sub-pixel rendering
+ <match target="font">
+ <test qual="all" name="rgba">
+ <const>unknown</const>
+ </test>
+ <edit name="rgba" mode="assign"><const>rgb</const></edit>
+ </match>
+-->
+<!--
+ Reject bitmap fonts
+ -->
+
+ <selectfont>
+ <rejectfont>
+ <pattern>
+ <patelt name="scalable"><bool>false</bool></patelt>
+ </pattern>
+ </rejectfont>
+ </selectfont>
+
+<!--
+ Accept bitmap fonts. This overrides any rejectfont which matches
+
+ <selectfont>
+ <acceptfont>
+ <pattern>
+ <patelt name="scalable"><bool>false</bool></patelt>
+ </pattern>
+ </acceptfont>
+ </selectfont>
+ -->
+</fontconfig>