all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Font `-adobe-courier-bold-r-normal-*-*-140-*-*-m-*-iso10646-1' is not defined
@ 2008-05-19  7:47 Michael Kifer
  2008-05-21  0:36 ` David Koppelman
  2008-05-22 15:49 ` bug#278: " Jason Rumney
  0 siblings, 2 replies; 4+ messages in thread
From: Michael Kifer @ 2008-05-19  7:47 UTC (permalink / raw)
  To: emacs-pretest-bug




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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Font `-adobe-courier-bold-r-normal-*-*-140-*-*-m-*-iso10646-1' is not defined
  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
  2008-05-26  9:43   ` Michael Kifer
  2008-05-22 15:49 ` bug#278: " Jason Rumney
  1 sibling, 1 reply; 4+ messages in thread
From: David Koppelman @ 2008-05-21  0:36 UTC (permalink / raw)
  To: kifer; +Cc: emacs-pretest-bug

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#278: Font `-adobe-courier-bold-r-normal-*-*-140-*-*-m-*-iso10646-1' is not defined
  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
@ 2008-05-22 15:49 ` Jason Rumney
  1 sibling, 0 replies; 4+ messages in thread
From: Jason Rumney @ 2008-05-22 15:49 UTC (permalink / raw)
  To: Kenichi Handa, 278

Michael Kifer wrote:
> 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.
>   

Since sometime after the font-backend merge, the same errors are 
occuring on Windows when backwards compatible xlfd strings are used to 
specify fonts. They did not occur before the font-backend merge in 
either trunk or font-backend branch.

frame-notice-user-settings: Font `-outline-DejaVu Sans 
Mono-normal-r-normal-normal-*-100-*-*-c-*-iso8859-1' is not defined

C-u C-x = on a character after setting the font to "DejaVu Sans Mono-10" 
shows the font name as:

-outline-DejaVu Sans Mono-normal-normal-normal-mono-13-*-*-*-m-*-iso10646-1

In particular "normal" in the slant field seems wrong.






^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Font `-adobe-courier-bold-r-normal-*-*-140-*-*-m-*-iso10646-1' is not defined
  2008-05-21  0:36 ` David Koppelman
@ 2008-05-26  9:43   ` Michael Kifer
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Kifer @ 2008-05-26  9:43 UTC (permalink / raw)
  To: David Koppelman; +Cc: emacs-pretest-bug

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 <koppel@ece.lsu.edu> 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 <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
> 




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-05-26  9:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2008-05-26  9:43   ` Michael Kifer
2008-05-22 15:49 ` bug#278: " Jason Rumney

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.