From nobody@FreeBSD.org  Tue May 22 08:46:34 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id A180816A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 22 May 2007 08:46:34 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 928F013C46E
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 22 May 2007 08:46:34 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l4M8kY81080167
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 22 May 2007 08:46:34 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l4M8fXli077789;
	Tue, 22 May 2007 08:41:33 GMT
	(envelope-from nobody)
Message-Id: <200705220841.l4M8fXli077789@www.freebsd.org>
Date: Tue, 22 May 2007 08:41:33 GMT
From: Dmitry Karasik<dmitry@karasik.eu.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: linux fontconfig /etc/fonts/fonts.conf not updated with xorg 7.2
X-Send-Pr-Version: www-3.0

>Number:         112851
>Category:       ports
>Synopsis:       x11-fonts/linux-fontconfig /etc/fonts/fonts.conf not updated with xorg 7.2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-emulation
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 22 08:50:02 GMT 2007
>Closed-Date:    Wed May 23 15:21:30 GMT 2007
>Last-Modified:  Wed May 23 15:21:30 GMT 2007
>Originator:     Dmitry Karasik
>Release:        6.2-STABLE
>Organization:
capmon a/s
>Environment:
FreeBSD gromit 6.2-STABLE FreeBSD 6.2-STABLE #9: Tue May 15 16:49:01 CEST 2007     root@gromit:/usr/obj/usr/src/sys/GROMIT  i386

>Description:
After upgrade to modular X, X11BASE was moved from /usr/X11R6 to /usr/local, and in particular fonts are now located in /usr/local/lib/X11/fonts, not /usr/X11R6/lib/X11/fonts. However, linux-fontconfig configuration file /etc/fonts/fonts.conf contains the old reference to /usr/X11R6, and thus no fontconfig-based linux programs will not run (linux-firefox even crashes without any fontconfig fonts).

>How-To-Repeat:
Install f.ex. print/acroread7 or www/linux-firefox and run it. acroread7 complains to unavailability of fonts, whereas linux-firefox silently crashes.
>Fix:

Workaround:

- Replace /usr/X11R6/lib/X11/fonts to /usr/local/lib/X11/fonts in /compat/linux/etc/fonts/fonts.conf.
- Run /compat/linux/usr/bin/fc-cache as root

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-emulation 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue May 22 13:28:06 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112851 
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Wed May 23 11:15:01 UTC 2007 
State-Changed-Why:  
The workarounds suggested needs to be done both or are alternatives? I edited 
the path in fonts.conf, and fonts now appear in acroread just fine. linux-opera 
is still messed up. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112851 
State-Changed-From-To: feedback->closed 
State-Changed-By: bsam 
State-Changed-When: Wed May 23 15:20:18 UTC 2007 
State-Changed-Why:  
The problem is solved by today's commit to the port x11-fonts/linux-fontconfig. 
Thanks for the report! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112851 
>Unformatted:
