From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Koppelman Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: Font `-adobe-courier-bold-r-normal-*-*-140-*-*-m-*-iso10646-1' is not defined Date: Tue, 20 May 2008 19:36:30 -0500 Message-ID: References: <20080519034708.76b49ca0@kiferserv> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211330217 2751 80.91.229.12 (21 May 2008 00:36:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 May 2008 00:36:57 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: kifer@cs.sunysb.edu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 21 02:37:33 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JycKi-0000Cl-Hx for ged-emacs-devel@m.gmane.org; Wed, 21 May 2008 02:37:32 +0200 Original-Received: from localhost ([127.0.0.1]:43135 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JycJx-00027o-TQ for ged-emacs-devel@m.gmane.org; Tue, 20 May 2008 20:36:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JycJu-00027j-AU for emacs-devel@gnu.org; Tue, 20 May 2008 20:36:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JycJr-00027M-VE for emacs-devel@gnu.org; Tue, 20 May 2008 20:36:42 -0400 Original-Received: from [199.232.76.173] (port=48768 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JycJr-00027I-Iy for emacs-devel@gnu.org; Tue, 20 May 2008 20:36:39 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:45389) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JycJr-0003MS-CT for emacs-devel@gnu.org; Tue, 20 May 2008 20:36:39 -0400 Original-Received: from mail.gnu.org ([199.232.76.166]:50250 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JycIb-0000OK-Ep for emacs-pretest-bug@gnu.org; Tue, 20 May 2008 20:35:21 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JycJm-0003KC-8A for emacs-pretest-bug@gnu.org; Tue, 20 May 2008 20:36:38 -0400 Original-Received: from ecelsrv1.ece.lsu.edu ([130.39.223.98]:53206) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JycJl-0003Ja-S0 for emacs-pretest-bug@gnu.org; Tue, 20 May 2008 20:36:34 -0400 Original-Received: from localhost (unknown [127.0.0.1]) by ecelsrv1.ece.lsu.edu (Postfix) with ESMTP id 7635128353; Wed, 21 May 2008 00:36:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at ece.lsu.edu Original-Received: from ecelsrv1.ece.lsu.edu ([127.0.0.1]) by localhost (ecelsrv1.ece.lsu.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BiQIknhorzJ7; Tue, 20 May 2008 19:36:30 -0500 (CDT) Original-Received: from nested.ece.lsu.edu (nested.ece.lsu.edu [130.39.222.143]) by ecelsrv1.ece.lsu.edu (Postfix) with ESMTP id C79D228349; Tue, 20 May 2008 19:36:30 -0500 (CDT) In-Reply-To: <20080519034708.76b49ca0@kiferserv> (Michael Kifer's message of "Mon, 19 May 2008 03:47:08 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:97464 gmane.emacs.pretest.bugs:22402 Archived-At: If you want a workaround try using x rather than freetype: emacs -xrm 'Emacs.FontBackend: x' -fn '-adobe-courier-bold-r-normal-*-*-140-*-*-m-*-iso10646-1' I found that the following works: If you want to see what fonts are available for the xft backend use (if it's installed): fc-list : family charset Emacs rejects fonts with insufficient characters (I guess), the ones that work for me are the ones with a long charset string. The following change might come in handy until the backend and fontconfig do a better job of resolving fonts. The DejaVu font looks good, "Courier STD" is available with Adobe Reader 8 (after modifying your .fonts.config). --- xfns.c.~1.708.~ 2008-05-15 14:49:37.000000000 -0500 +++ xfns.c 2008-05-20 17:26:34.000000000 -0500 @@ -3066,6 +3066,8 @@ x_default_font_parameter (f, parms) { char *names[] = { "-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1", + /* "Courier STD", */ + "DejaVu LGC Sans Mono-10.5", "-misc-fixed-medium-r-normal-*-*-140-*-*-c-*-iso8859-1", "-*-*-medium-r-normal-*-*-140-*-*-c-*-iso8859-1", /* This was formerly the first thing tried, but it finds Michael Kifer writes: > Please describe exactly what actions triggered the bug > and the precise symptoms of the bug: > > The latest CVS version of emacs cannot find fonts. When I start emacs, it > says: > Font `-adobe-courier-bold-r-normal-*-*-140-*-*-m-*-iso10646-1' is not defined > and quits. > Earlier versions did not have this problem. This font is defined: > xfontsel has no trouble finding it. > > > > In GNU Emacs 23.0.60.3 (i686-pc-linux-gnu, GTK+ Version 2.12.9) > of 2008-05-19 on kiferserv > Windowing system distributor `The X.Org Foundation', version 11.0.10400090 > Important settings: > value of $LC_ALL: en_US.UTF-8 > value of $LC_COLLATE: nil > value of $LC_CTYPE: nil > value of $LC_MESSAGES: nil > value of $LC_MONETARY: nil > value of $LC_NUMERIC: nil > value of $LC_TIME: nil > value of $LANG: en_US.UTF-8 > value of $XMODIFIERS: nil > locale-coding-system: utf-8-unix > default-enable-multibyte-characters: t > > Major mode: Help > > Minor modes in effect: > display-time-mode: t > desktop-save-mode: t > shell-dirtrack-mode: t > tooltip-mode: t > tool-bar-mode: t > mouse-wheel-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > global-auto-composition-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > transient-mark-mode: t > abbrev-mode: 1 > view-mode: t > > Recent input: > . . . ~ SPC SPC a a b o v e SPC SPC SPC SPC > SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC c w e n d o > w SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC > c w w i t h > s SPC a n d SPC c r e a t e > > i , > SPC w h i c h SPC SPC d w e a s SPC > SPC d w . . > i s y n t a c t i c a l l y SPC d i v e r > s e SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC > SPC SPC SPC SPC SPC SPC d w . . . . . . . > > > > > > > SPC > > > i w e l l - f o > r m e d SPC SPC SPC SPC SPC SPC SPC SPC c > w f o r m u l a SPC > Z Z > C-x > 1 v / e t c c > v a r / l o g / m a i G ? e m > a c s > > Z Z > > M-x r e p o r t > > Recent messages: > Deleted 3 characters > Deleted 10 characters > Deleted 5 characters > Auto-saving... > byte-code: Beginning of buffer [3 times] > Wrote /home/users/kifer/.mozilla/firefox/kifer.default/itsalltext/www.w3.org.283b2v2r1i.txt [2 times] > (No changes need to be saved) > Yes > Note: file is write protected > (No changes need to be saved) > byte-code: Beginning of buffer