Subject: pkg/22353: fontconfig not properly configured upon installation
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Buelow <mkb@altair.mukappabeta.net>
List: netbsd-bugs
Date: 08/04/2003 05:35:27
>Number:         22353
>Category:       pkg
>Synopsis:       fontconfig not properly configured upon installation
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 04 03:32:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Buelow
>Release:        NetBSD 1.6.1
>Organization:
  Matthias Buelow;  mkb@{mukappabeta.de,informatik.uni-wuerzburg.de}
>Environment:
System: NetBSD xxx 1.6.1 NetBSD 1.6.1 (GENERIC) #0: Tue Apr 8 12:05:52 UTC 2003 autobuild@tgm.daemon.org:/autobuild/netbsd-1-6/i386/OBJ/autobuild/netbsd-1-6/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
	The fontconfig package doesn't work after installation.
	Observe executing a gtk2 hello-world style program:

	% ./hw
	No fonts found; this probably means that the fontconfig
	library is not correctly configured. You may need to
	edit the fonts.conf configuration file. More information
	about fontconfig can be found in the fontconfig(3) manual
	page and on http://fontconfig.org

	I tried copying fonts.conf and fonts.dtd to various places,
	like /etc/fonts, /usr/X11R6/etc/fonts, apart from the place
	where pkgsrc installs it (/usr/pkg/etc/fontconfig) but I
	can't get it working.  I also can't quite see where in the
	fonts.conf I should tweak something to make it work.  The
	paths look ok.

	<pkgsrc>/fonts/fontconfig Makefile revision:

	# $NetBSD: Makefile,v 1.13 2003/07/17 21:37:02 grant Exp $


>How-To-Repeat:
	Try to run anything which uses pango/Xft.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: