From: David Koppelman <koppel@ece.lsu.edu>
To: kifer@cs.sunysb.edu
Cc: emacs-pretest-bug@gnu.org
Subject: Re: Font `-adobe-courier-bold-r-normal-*-*-140-*-*-m-*-iso10646-1' is not defined
Date: Tue, 20 May 2008 19:36:30 -0500 [thread overview]
Message-ID: <yg563t8h4s1.fsf@nested.ece.lsu.edu> (raw)
In-Reply-To: <20080519034708.76b49ca0@kiferserv> (Michael Kifer's message of "Mon, 19 May 2008 03:47:08 -0400")
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 <kifer@cs.sunysb.edu> 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 <escape> SPC SPC SPC
> SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC c w e n d o
> w <escape> SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC
> c w w i t h <escape> <down-mouse-1> <mouse-1> <down-mouse-1>
> <mouse-1> s SPC a n d SPC c r e a t e <escape> <backspace>
> <backspace> <backspace> <backspace> <backspace> <backspace>
> <backspace> <backspace> <backspace> <backspace> i ,
> SPC w h i c h <escape> SPC SPC d w e a s <escape> SPC
> SPC d w . . <down-mouse-1> <mouse-1> <down-mouse-1>
> <mouse-1> i s y n t a c t i c a l l y SPC d i v e r
> s e SPC <escape> SPC SPC SPC SPC SPC SPC SPC SPC SPC
> SPC SPC SPC SPC SPC SPC d w . . . . . . . <down-mouse-4>
> <mouse-4> <double-down-mouse-4> <double-mouse-4> <triple-down-mouse-4>
> <triple-mouse-4> <triple-down-mouse-4> <triple-mouse-4>
> <down-mouse-4> <mouse-4> <double-down-mouse-4> <double-mouse-4>
> <triple-down-mouse-4> <triple-mouse-4> <triple-down-mouse-4>
> <triple-mouse-4> <down-mouse-4> <mouse-4> <double-down-mouse-4>
> <double-mouse-4> <triple-down-mouse-4> <triple-mouse-4>
> <f22> SPC <down-mouse-1> <mouse-1> <down-mouse-5> <mouse-5>
> <down-mouse-5> <mouse-5> <down-mouse-5> <mouse-5> <down-mouse-5>
> <mouse-5> <double-down-mouse-5> <double-mouse-5> <down-mouse-5>
> <mouse-5> <down-mouse-1> <mouse-1> i w e l l - f o
> r m e d SPC <escape> SPC SPC SPC SPC SPC SPC SPC c
> w f o r m u l a <escape> <f22> SPC <down-mouse-1> <mouse-1>
> Z Z <switch-frame> <help-echo> <help-echo> <help-echo>
> <help-echo> <help-echo> <down-mouse-1> <mouse-1> C-x
> 1 v / e t c <backspace> <backspace> <backspace> c <backspace>
> v a r / l o g / m a <tab> i <tab> <return> G ? e m
> a c s <return> <down-mouse-1> <mouse-1> <down-mouse-1>
> <mouse-movement> <mouse-movement> <drag-mouse-1> <down-mouse-3>
> <mouse-3> <down-mouse-1> <mouse-1> Z Z <C-down-mouse-1>
> <C-down-mouse-1> <C-mouse-1> <down-mouse-4> <mouse-4>
> <C-down-mouse-1> M-x r e p o r t <tab> <return>
>
> 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
next prev parent reply other threads:[~2008-05-21 0:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-19 7:47 Font `-adobe-courier-bold-r-normal-*-*-140-*-*-m-*-iso10646-1' is not defined Michael Kifer
2008-05-21 0:36 ` David Koppelman [this message]
2008-05-26 9:43 ` Michael Kifer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yg563t8h4s1.fsf@nested.ece.lsu.edu \
--to=koppel@ece.lsu.edu \
--cc=emacs-pretest-bug@gnu.org \
--cc=kifer@cs.sunysb.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).