Fontconfig error

Donal Farrell 0161977 at student.ul.ie
Sat Apr 23 12:56:55 PDT 2005


Hi there. I'm getting a persistent error in the X Window System
Components page in BLFS-6.0. The message is as follows:

Fontconfig error: "local.conf", line 5 junk after document element

My /etc/fonts/local.conf is as follows

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->
<dir>/usr/X11R6/lib/X11/fonts/TTF</dir>
<dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
<dir>/usr/X11R6/lib/X11/fonts/TTF</dir>
<dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
<dir>/usr/X11R6/lib/X11/fonts/TTF</dir>
<dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
<dir>/usr/X11R6/lib/X11/fonts/TTF</dir>
<dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
<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>
-->
<dir>/usr/X11R6/lib/X11/fonts/TTF</dir>
<dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
<dir>/usr/X11R6/lib/X11/fonts/TTF</dir>
<dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
/usr/X11R6/lib/X11/fonts/TTF/ 
/usr/X11R6/lib/X11/fonts/Type1/
<dir>/usr/X11R6/lib/X11/fonts/TTF</dir>
<dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
<dir>/usr/X11R6/lib/X11/fonts/TTF</dir>
<dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
</fontconfig>

I have absolutely no clue what this error means, since I followed the
book 100%. 

I used the freefonts package and unpacked the ttf fonts to
/usr/X11R6/lib/X11/fonts/TTF and did the mkfontscale && mkfontdir
commands. fc-cache is what ouputs the error. Has anyone any ideas?

Thanks in advance,

Donal




More information about the blfs-support mailing list