emacs-devel
[Top][All Lists]
Advanced

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

Re: Default face problem


From: Kenichi Handa
Subject: Re: Default face problem
Date: Thu, 11 May 2006 13:35:16 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

In article <address@hidden>, Eli Zaretskii <address@hidden> writes:

>> From: Kenichi Handa <address@hidden>
>> CC: address@hidden, address@hidden, address@hidden
>> Date: Thu, 11 May 2006 09:36:20 +0900
>> 
>> In article <address@hidden>, Eli Zaretskii <address@hidden> writes:
>> 
>> >> Perhaps, "#ifdef HAVE_X_WINDOWS ... #endif" is not
>> >> necessary, but I can't test it on the other platform, and it
>> >> seems that this problem happens only on X.
>> 
>> > If you tell me how to reproduce it, I could try it on MS-Windows.
>> 
>> I don't know the recipe for MS-Windows.

> What is the recipe for X?

Start emacs by specifying a bitmap font with non-existing
size.  For instance, if you have these fonts,

% xlsfonts -fn -etl-fixed-medium-r-normal-*-iso8859-1
-etl-fixed-medium-r-normal--0-0-72-72-c-0-iso8859-1
-etl-fixed-medium-r-normal--14-140-72-72-c-70-iso8859-1
-etl-fixed-medium-r-normal--16-160-72-72-c-80-iso8859-1
-etl-fixed-medium-r-normal--18-180-72-72-c-90-iso8859-1
-etl-fixed-medium-r-normal--24-240-72-72-c-120-iso8859-1

start Emacs as this:
% emacs -fn -etl-fixed-medium-r-normal--17-*-*-*-*-*-iso8859-1

X server can open a font auto-scaled from one of the
existing bitmap fonts.  But, such a font is rejected while
choosing a font for the default face, which leads to
mismatch of the frame font and the default face font.

The fix is to the adjust frame's font to what chosen for the
default face font in such a case.

---
Kenichi Handa
address@hidden




reply via email to

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