<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->
<fontconfig>
-<!-- Enable sub-pixel rendering -->
+<!--
+ 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>
SRC_URI = "http://freedesktop.org/fontconfig/release/fontconfig-${PV}.tar.gz \
file://fc-glyphname.patch;patch=1 \
- file://fc-lang.patch;patch=1"
-PR = "r6"
+ file://fc-lang.patch;patch=1 \
+ file://local.conf"
+PR = "r7"
PACKAGES =+ "fontconfig-utils "
FILES_fontconfig-utils = "${bindir}/*"
do_install () {
autotools_do_install
+
+ install -d ${D}/etc/fonts/
+ install -m 0644 ${WORKDIR}/local.conf ${D}/etc/fonts/
}