summaryrefslogtreecommitdiffstats
path: root/meta/packages/fontconfig/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/fontconfig/files')
-rw-r--r--meta/packages/fontconfig/files/local.conf12
-rw-r--r--meta/packages/fontconfig/files/stop-fc-cache.patch8
2 files changed, 20 insertions, 0 deletions
diff --git a/meta/packages/fontconfig/files/local.conf b/meta/packages/fontconfig/files/local.conf
new file mode 100644
index 0000000000..ddd7cf9d03
--- /dev/null
+++ b/meta/packages/fontconfig/files/local.conf
@@ -0,0 +1,12 @@
+<?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>
+</fontconfig>
diff --git a/meta/packages/fontconfig/files/stop-fc-cache.patch b/meta/packages/fontconfig/files/stop-fc-cache.patch
new file mode 100644
index 0000000000..7b549118f9
--- /dev/null
+++ b/meta/packages/fontconfig/files/stop-fc-cache.patch
@@ -0,0 +1,8 @@
+--- fontconfig-2.2.95/Makefile.am.old 2006-02-07 01:01:01.000000000 +0000
++++ fontconfig-2.2.95/Makefile.am 2006-02-07 01:01:15.000000000 +0000
+@@ -50,4 +50,4 @@
+ echo " $(INSTALL_DATA) local.conf $(DESTDIR)$(configdir)/local.conf"; \
+ $(INSTALL_DATA) local.conf $(DESTDIR)$(configdir)/local.conf; \
+ fi; fi; fi
+- if [ x$(DESTDIR) = x ]; then fc-cache/fc-cache -f -v; fi
++# if [ x$(DESTDIR) = x ]; then fc-cache/fc-cache -f -v; fi