emacs-devel
[Top][All Lists]
Advanced

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

Re: 23.0.60; Still font problems


From: Kenichi Handa
Subject: Re: 23.0.60; Still font problems
Date: Thu, 15 May 2008 16:38:05 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

In article <address@hidden>, jpff <address@hidden> 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
address@hidden




reply via email to

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