From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Kifer Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: Font `-adobe-courier-bold-r-normal-*-*-140-*-*-m-*-iso10646-1' is not defined Date: Mon, 26 May 2008 05:43:14 -0400 Organization: Stony Brook University Message-ID: <20080526054314.6a6e472a@cs.sunysb.edu> References: <20080519034708.76b49ca0@kiferserv> Reply-To: kifer@cs.sunysb.edu NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1211795030 21756 80.91.229.12 (26 May 2008 09:43:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 May 2008 09:43:50 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: David Koppelman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 26 11:44:30 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 1K0ZFi-0006QS-QL for ged-emacs-devel@m.gmane.org; Mon, 26 May 2008 11:44:27 +0200 Original-Received: from localhost ([127.0.0.1]:45307 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0ZEx-00040x-GJ for ged-emacs-devel@m.gmane.org; Mon, 26 May 2008 05:43:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K0ZEp-0003yv-G3 for emacs-devel@gnu.org; Mon, 26 May 2008 05:43:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K0ZEo-0003y1-4j for emacs-devel@gnu.org; Mon, 26 May 2008 05:43:30 -0400 Original-Received: from [199.232.76.173] (port=54913 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0ZEm-0003xn-O9 for emacs-devel@gnu.org; Mon, 26 May 2008 05:43:28 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:35451) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K0ZEm-000283-Hf for emacs-devel@gnu.org; Mon, 26 May 2008 05:43:28 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]:53261) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1K0ZDE-0000Ka-Ht for emacs-pretest-bug@gnu.org; Mon, 26 May 2008 05:41:52 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1K0ZEh-00027V-8z for emacs-pretest-bug@gnu.org; Mon, 26 May 2008 05:43:28 -0400 Original-Received: from sbcs.cs.sunysb.edu ([130.245.1.15]:36253) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K0ZEg-00026v-Vz for emacs-pretest-bug@gnu.org; Mon, 26 May 2008 05:43:23 -0400 Original-Received: from localhost (compserv1 [130.245.1.44]) by sbcs.cs.sunysb.edu (8.13.6/8.12.11) with ESMTP id m4Q9hCsL011745; Mon, 26 May 2008 05:43:13 -0400 (EDT) In-Reply-To: X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i486-pc-linux-gnu) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (1203?) 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:97710 gmane.emacs.pretest.bugs:22441 Archived-At: Thanks for the workaround. My point was that everything was fine until a few weeks ago. Emacs could find all the fonts it needed. Why break this? --michael On Tue, 20 May 2008 19:36:30 -0500 David Koppelman wrote: > 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 >