emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Font `-adobe-courier-bold-r-normal-*-*-140-*-*-m-*-iso10646-1' is no


From: Michael Kifer
Subject: Re: Font `-adobe-courier-bold-r-normal-*-*-140-*-*-m-*-iso10646-1' is not defined
Date: Mon, 26 May 2008 05:43:14 -0400

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 <address@hidden> 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 <address@hidden> 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
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]