Subject: pkg/30690: xorg fonts are not found by linux emulation's fc-cache
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 07/08/2005 04:03:00
>Number:         30690
>Category:       pkg
>Synopsis:       xorg fonts are not found by linux emulation's fc-cache
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 08 04:03:00 +0000 2005
>Originator:     Steven M. Bellovin
>Release:        NetBSD 3.99.7
Department of Computer Science, Columbia University
System: NetBSD 3.99.7 NetBSD 3.99.7 (BERKSHIRE) #1: Fri Jul 1 15:56:08 EDT 2005 i386
Architecture: i386
Machine: i386
	The linux emulation setup has its own font cache, in package
	suse_fontconfig.  This doesn't work properly if xorg is used,
	since it doesn't include /usr/pkg/xorg/lib/X11/fonts in the
	default setup.
	Install acroread7.  Fix the gdk-pixbuf problem -- a separate
	issue -- and you'll find that it complains about not having any
	As a work-around, edit /usr/pkg/emul/linux/etc/fonts/local.conf
	and add


	right after the <fontconfig> line.  Then run 

	A proper fix would be to test for the existence of
	xorg at suse_fontconfig install time and change the
	fonts.conf file accordingly.  Alternatively, always
	add the extra directory; given the caching mechanism,
	the extra run-time overhead should be minimal, I suspect.