unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: Font not defined
Date: Fri, 20 Jun 2008 14:54:36 +0000 (UTC)	[thread overview]
Message-ID: <m1K9i0a-002K4NC@rattlesnake.com> (raw)
In-Reply-To: <E1K9fg5-0000rw-5h@etlken.m17n.org> (message from Kenichi Handa on Fri, 20 Jun 2008 21:25:17 +0900)

    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
    bob@rattlesnake.com                         bob@gnu.org
    http://www.rattlesnake.com                  http://www.teak.cc




  reply	other threads:[~2008-06-20 14:54 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-20 12:11 Font not defined Robert J. Chassell
2008-06-20 12:25 ` Kenichi Handa
2008-06-20 14:54   ` Robert J. Chassell [this message]
2008-06-20 23:02     ` Robert J. Chassell
2008-06-21 10:27     ` Robert J. Chassell
2008-06-21 20:41       ` Stephen J. Turnbull
2008-06-22 10:29         ` Robert J. Chassell
2008-06-22 16:12           ` Stephen J. Turnbull
2008-06-22 20:58             ` Robert J. Chassell
2008-06-23  0:36               ` Miles Bader
2008-06-23 12:04                 ` Robert J. Chassell
2008-06-24 19:38   ` Robert J. Chassell
2008-06-24 20:06   ` Robert J. Chassell
  -- strict thread matches above, loose matches on Subject: below --
2008-07-09 11:30 Robert J. Chassell
2008-07-09 20:02 ` Robert J. Chassell
2008-07-10  1:33 ` Kenichi Handa
2008-07-10 10:54   ` Robert J. Chassell
2008-07-11  3:58     ` Kenichi Handa
2008-07-11 12:32       ` Robert J. Chassell
2008-07-14  7:47         ` Kenichi Handa
2008-07-14 11:15           ` Robert J. Chassell
2008-07-14 11:29             ` Kenichi Handa
2008-07-14 16:18               ` Robert J. Chassell
2008-05-15  2:50 Chong Yidong
2008-05-15  6:44 ` Kenichi Handa
2008-05-15 12:21   ` David

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=m1K9i0a-002K4NC@rattlesnake.com \
    --to=bob@rattlesnake.com \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.org \
    /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).