From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jul 24 11:50:06 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D51B0106564A for ; Tue, 24 Jul 2012 11:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8C7718FC16 for ; Tue, 24 Jul 2012 11:50:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6OBo6S0013873 for ; Tue, 24 Jul 2012 11:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q6OBo6il013872; Tue, 24 Jul 2012 11:50:06 GMT (envelope-from gnats) Resent-Date: Tue, 24 Jul 2012 11:50:06 GMT Resent-Message-Id: <201207241150.q6OBo6il013872@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, Hiroto Kagotani Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7041B106564A for ; Tue, 24 Jul 2012 11:40:32 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 5AD9B8FC1C for ; Tue, 24 Jul 2012 11:40:32 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q6OBeWvX055643 for ; Tue, 24 Jul 2012 11:40:32 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q6OBeWle055642; Tue, 24 Jul 2012 11:40:32 GMT (envelope-from nobody) Message-Id: <201207241140.q6OBeWle055642@red.freebsd.org> Date: Tue, 24 Jul 2012 11:40:32 GMT From: Hiroto Kagotani To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/170108: x11-fonts/libfontenc: library in the package searches bogus dir for encodings.dir X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 11:50:06 -0000 >Number: 170108 >Category: ports >Synopsis: x11-fonts/libfontenc: library in the package searches bogus dir for encodings.dir >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: Tue Jul 24 11:50:06 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Hiroto Kagotani >Release: 9.0-RELEASE >Organization: >Environment: >Description: When building libfontenc without any X11/fonts installed, it is configured to search non-existent "/usr/local/share/fonts/X11/encodings" directory for "encodings.dir" file instead of "/usr/local/lib/X11/fonts/encodings" directory. Libraries in the binary package distribution have the same configuration. This finally causes X server to fail to use some encodings for TrueType fonts. >How-To-Repeat: Install x11-fonts/libfontenc prior to any x11 fonts or install it from the binary package. Install x11-fonts/bitstream-vera. Add bitstream-vera diractory to the font path. (xset fp+ /usr/local/lib/X11/fonts/bitstream-vera/) Look for a bitstream-vera font. (xlsfonts -l -fn '-bitstream-bitstream vera sans-medium-r-normal-*') You'll see just 4 encodings for the font other than ascii-0 encoding. Also you'll find an error in /var/log/Xorg.0.log: FreeType: couldn't find encoding 'ascii-0' for '/usr/local/lib/X11/fonts/bitstre am-vera/Vera.ttf' >Fix: Should patch the configure script or aclocal/fontutil.m4. >Release-Note: >Audit-Trail: >Unformatted: