all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: jpff <jpff@codemist.co.uk>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; Still font problems
Date: Thu, 15 May 2008 16:38:05 +0900	[thread overview]
Message-ID: <E1JwY2P-0002iA-Pz@etlken.m17n.org> (raw)
In-Reply-To: <1393-Thu15May2008080518+0100-jpff@codemist.co.uk> (message from jpff on Thu, 15 May 2008 08:05:18 +0100)

In article <1393-Thu15May2008080518+0100-jpff@codemist.co.uk>, jpff <jpff@codemist.co.uk> writes:
> In part.  After i fixed the typo in src/emacs-icon.h on line 21 it
> compiles.  I can run with the default (and very ugly) font,

I don't understand why the default font is very ugly.  Emacs
by default tries these:

-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1
-misc-fixed-medium-r-normal-*-*-140-*-*-c-*-iso8859-1
-*-*-medium-r-normal-*-*-140-*-*-c-*-iso8859-1
-*-*-medium-r-*-*-*-*-*-*-c-*-iso8859-1
-*-fixed-*-*-*-*-*-140-*-*-c-*-iso8859-1
fixed

Do you mean that Emacs finds none of them?

> but the mechanism I have been using for years to set a
> better font fails.

> emacs -lsp 2 -fn "-adobe-courier-bold-r-normal--*-120-*-*-m-*-iso8859-1" -geometry 84x45+64+10
> Font `-adobe-courier-bold-r-normal--*-120-*-*-m-*-iso8859-1' is not defined

> Using xlsfonts I see
> -adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1
> -adobe-courier-bold-r-normal--17-120-100-100-m-100-iso8859-1

> amongst others.  For emacs 22 this command works, so something has
> changed incompatibly

When I start Emacs as you do, it starts without an error and
uses this font:
-adobe-courier-bold-r-normal--17-120-100-100-m-100-iso8859-1

So, I don't understand why it doesn't work for you.  Please
rebuild Emacs and run Emacs under gdb as below:
% cd .../emacs/src
% rm xfont.o
% make CFLAGS=-g
% gdb emacs
(gdb) br xfont_list
(gdb) run -fn "-adobe-courier-bold-r-normal--*-120-*-*-m-*-iso8859-1"
and when it stops at xfont_list, check the argument `spec' by
(gdb) pr spec
and step the code one line by one to find what is wrong.

---
Kenichi Handa
handa@ni.aist.go.jp




  reply	other threads:[~2008-05-15  7:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-14 16:52 23.0.60; Still font problems jpff
2008-05-15  0:43 ` Kenichi Handa
2008-05-15  7:05   ` jpff
2008-05-15  7:38     ` Kenichi Handa [this message]
2008-05-15  8:32       ` Stephen Berman
2008-05-15  8:40         ` Jason Rumney
2008-05-15 10:03           ` Stephen Berman
2008-05-15 13:36             ` Stephen Berman
2008-05-16  0:41               ` Kenichi Handa
2008-05-16 14:44                 ` Stephen Berman

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1JwY2P-0002iA-Pz@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=jpff@codemist.co.uk \
    /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 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.