From owner-freebsd-ports-bugs@FreeBSD.ORG  Mon Mar 26 18:20:05 2007
Return-Path: <owner-freebsd-ports-bugs@FreeBSD.ORG>
X-Original-To: freebsd-ports-bugs@hub.freebsd.org
Delivered-To: freebsd-ports-bugs@hub.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 2C17416A405
	for <freebsd-ports-bugs@hub.freebsd.org>;
	Mon, 26 Mar 2007 18:20:05 +0000 (UTC)
	(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40])
	by mx1.freebsd.org (Postfix) with ESMTP id 0064413C4F7
	for <freebsd-ports-bugs@hub.freebsd.org>;
	Mon, 26 Mar 2007 18:20:04 +0000 (UTC)
	(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1])
	by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l2QIK4l9015282
	for <freebsd-ports-bugs@freefall.freebsd.org>;
	Mon, 26 Mar 2007 18:20:04 GMT
	(envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l2QIK4DX015281;
	Mon, 26 Mar 2007 18:20:04 GMT (envelope-from gnats)
Resent-Date: Mon, 26 Mar 2007 18:20:04 GMT
Resent-Message-Id: <200703261820.l2QIK4DX015281@freefall.freebsd.org>
Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer)
Resent-To: freebsd-ports-bugs@FreeBSD.org
Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org,
	"moose@opera.com"<moose@opera.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 6E48A16A40D
	for <freebsd-gnats-submit@FreeBSD.org>;
	Mon, 26 Mar 2007 18:11:48 +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 45D3B13C4E8
	for <freebsd-gnats-submit@FreeBSD.org>;
	Mon, 26 Mar 2007 18:11:47 +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 l2QIBl4j049723
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 26 Mar 2007 18:11:47 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l2QI6jwx048625;
	Mon, 26 Mar 2007 18:06:45 GMT (envelope-from nobody)
Message-Id: <200703261806.l2QI6jwx048625@www.freebsd.org>
Date: Mon, 26 Mar 2007 18:06:45 GMT
From: "moose@opera.com"<moose@opera.com>
To: freebsd-gnats-submit@FreeBSD.org
X-Send-Pr-Version: www-3.0
Cc: 
Subject: ports/110874: fontconfig 2.4.2 upgrade breaks font caching and
	Dejavu fonts in KDE
X-BeenThere: freebsd-ports-bugs@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Ports bug reports <freebsd-ports-bugs.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, 
	<mailto:freebsd-ports-bugs-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs>
List-Post: <mailto:freebsd-ports-bugs@freebsd.org>
List-Help: <mailto:freebsd-ports-bugs-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, 
	<mailto:freebsd-ports-bugs-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Mar 2007 18:20:05 -0000


>Number:         110874
>Category:       ports
>Synopsis:       fontconfig 2.4.2 upgrade breaks font caching and Dejavu fonts in KDE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 26 18:20:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     moose@opera.com
>Release:        FreeBSD 6.2-STABLE
>Organization:
Opera Software
>Environment:
FreeBSD 6.2-STABLE #0: Sun Mar 25 22:41:51 CEST 2007     moose@evangelista:/usr/obj/usr/src/sys/EVANGELISTA  amd64
>Description:
Previous version of fontconfig was 2.3.2. No font problems on 6.2-STABLE with KDE 3.5.6 installed, all ports up to date. Update to fontconfig 2.4.2 breaks anti-aliasing and display of Dejavu Sans fonts, as well as produces broken cache.

Backing out fontconfig manually to 2.3.2 fixes the problem. Actually, you can manually fetch 2.4.0 and 2.4.1 sources, adjust the x11-fonts/fontconfig/ Makefile and distinfo files, and build 2.4.1 with no detriment to font caching and display.

There is a change between 2.4.1 and 2.4.2 which breaks DejaVu fonts. Font ports:

bitstream-vera-1.10_3 
dejavu-2.15

When Dejavu is manually reinstalled, this error message appears:

===> Running fc-cache
/usr/X11R6/bin/fc-cache -f -v /usr/X11R6/lib/X11/fonts/dejavu
/usr/X11R6/lib/X11/fonts/dejavu: caching, 21 fonts, 0 dirs
/var/db/fontconfig: cleaning cache directory
/var/db/fontconfig: c5f5d66d15c24edc3e863c27139db87e-x86-64.cache-2: cache outdated: /usr/X11R6/lib/X11/fonts
/root/.fontconfig: cleaning cache directory
/usr/X11R6/bin/fc-cache: succeeded

Cache outdated. 

Cleaning the cache manually, running fc-cache -f -v as root, cleaning /var/db/fontconfig/* does not help. Dejavu Sans is broken (rainbow-colored, barely visible). Cache is unhealthy unless you revert to 2.4.1 or earlier.
>How-To-Repeat:
Upgrade fontconfig from 2.3.2 to 2.4.2 on a KDE system with DejaVu fonts used in the UI.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: