Date: Tue, 24 Jul 2012 11:40:32 GMT From: Hiroto Kagotani <hiroto.kagotani@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/170108: x11-fonts/libfontenc: library in the package searches bogus dir for encodings.dir Message-ID: <201207241140.q6OBeWle055642@red.freebsd.org> Resent-Message-ID: <201207241150.q6OBo6il013872@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207241140.q6OBeWle055642>