emacs-devel
[Top][All Lists]
Advanced

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

Re: Font not defined


From: Robert J. Chassell
Subject: Re: Font not defined
Date: Fri, 20 Jun 2008 14:54:36 +0000 (UTC)

    If Emacs starts up when invoked without arguments, show me
    the result of:

    (frame-parameter nil 'font-backend)

I see

    (x xft)

for today's GNU Emacs CVS snapshot, Fri, 2008 Jun 20  09:47 UTC
GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9)
built with

     (progn
       (cd "/usr/local/src/emacs/")
       (compile
       "make maintainer-clean && \
        time autoconf && time ./configure \
         --with-x --with-type1 --with-x-toolkit=gtk && \
        time make bootstrap"))

and started with

    emacs -q

With 

    emacs -q --xrm 'Emacs*FontBackend: xft,x'

    (xft x)

and with

    emacs -q --xrm 'Emacs*FontBackend: x,xft'

    (x xft)

Howvever, 
in both cases, I see

  Font `-misc-fixed-medium-r-normal--20-*-*-*-c-100-iso8859-1' is not defined

when I call

    emacs -q -fn '-misc-fixed-medium-r-normal--20-*-*-*-c-100-iso8859-1' \
    --xrm 'Emacs*FontBackend: xft,x'
or
    emacs -q -fn '-misc-fixed-medium-r-normal--20-*-*-*-c-100-iso8859-1' \
    --xrm 'Emacs*FontBackend: x,xft'

but I do not see that error when I go for a 15 pixel font:

    emacs -q -fn '-misc-fixed-medium-r-normal--15-*-*-*-c-90-iso8859-1' \
    --xrm 'Emacs*FontBackend: xft,x'     

which finds the font and the backend:

    (assq 'font (frame-parameters))
    => (font . "-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-1")

    (assq 'font-backend  (frame-parameters))
    => (font-backend xft x) 

In that instance of Emacs, evaluating

    (set-frame-font "-misc-fixed-medium-r-normal--13-*-*-*-c-80-iso8859-1")

succeeds but

    (set-frame-font "-misc-fixed-medium-r-normal--20-*-*-*-c-100-iso8859-1")

does not.  Instead, I see

    Debugger entered--Lisp error: 
    (error "Font `-misc-fixed-medium-r-normal--20-*-*-*-c-100-iso8859-1' 
    is not defined")

-- 
    Robert J. Chassell                          GnuPG Key ID: 004B4AC8
    address@hidden                         address@hidden
    http://www.rattlesnake.com                  http://www.teak.cc




reply via email to

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