ports/110873: fontconfig 2.4.2 upgrade breaks font caching and Dejavu fonts in KDE

moose at opera.com moose at opera.com
Mon Mar 26 18:10:11 UTC 2007


>Number:         110873
>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:10:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     moose at 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 at 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:



More information about the freebsd-ports-bugs mailing list