ports/112851: linux fontconfig /etc/fonts/fonts.conf not updated with xorg 7.2

Dmitry Karasik dmitry at karasik.eu.org
Tue May 22 08:50:03 UTC 2007

>Number:         112851
>Category:       ports
>Synopsis:       linux fontconfig /etc/fonts/fonts.conf not updated with xorg 7.2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 22 08:50:02 GMT 2007
>Originator:     Dmitry Karasik
>Release:        6.2-STABLE
capmon a/s
FreeBSD gromit 6.2-STABLE FreeBSD 6.2-STABLE #9: Tue May 15 16:49:01 CEST 2007     root at gromit:/usr/obj/usr/src/sys/GROMIT  i386

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).

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


- 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


More information about the freebsd-ports-bugs mailing list