aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/fontconfig/files/local.conf
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/fontconfig/files/local.conf')
-rw-r--r--recipes/fontconfig/files/local.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/fontconfig/files/local.conf b/recipes/fontconfig/files/local.conf
new file mode 100644
index 0000000000..d678878f3e
--- /dev/null
+++ b/recipes/fontconfig/files/local.conf
@@ -0,0 +1,19 @@
+<?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>
+-->
+
+<!-- X11R7.0 installs fonts to a new location -->
+ <dir>/usr/lib/X11/fonts/misc</dir>
+ <dir>/usr/lib/X11/fonts/Type1</dir>
+ <dir>/usr/lib/X11/fonts/75dpi</dir>
+</fontconfig>