emacs-devel
[Top][All Lists]
Advanced

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

Re: Gnus problem with nil font in face definition


From: Kenichi Handa
Subject: Re: Gnus problem with nil font in face definition
Date: Fri, 29 Feb 2008 16:28:34 +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>, Reiner Steib <address@hidden> writes:

> On Thu, Feb 28 2008, Ted Zlatanov wrote:
> > It seems that the cause is faces that have the font set to nil, instead
> > of unspecified.  I don't know if this is a Gnus-only problem, and it may
> > be caused by an Emacs problem, so I am cc-ing both emacs-devel and ding.

> I'm quite sure that nothing in Gnus/Message has changed in this area,
> so it is probably related to the unicode merge (new font back end?)

> For those not using Gnus, a test case might be:

> - emacs -Q -fn '-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1'

I found what is wrong with the current font-backend code.

% xlsfonts -fn -misc-fixed-*-*-*--20-200-75-75-c-100-iso10646-1

lists these fonts.

-misc-fixed-bold-r-normal--20-200-75-75-c-100-iso10646-1
-misc-fixed-bold-r-normal--20-200-75-75-c-100-iso10646-1
-misc-fixed-bold-r-semicondensed--20-200-75-75-c-100-iso10646-1
-misc-fixed-medium-o-normal--20-200-75-75-c-100-iso10646-1
-misc-fixed-medium-o-semicondensed--20-200-75-75-c-100-iso10646-1
-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
-misc-fixed-medium-r-semicondensed--20-200-75-75-c-100-iso10646-1

but the result of

% xlsfonts -fn -misc-fixed-*-*-*--*-*-*-*-c-*-iso10646-1

doesn't contain this font:
-misc-fixed-bold-r-normal--20-200-75-75-c-100-iso10646-1

I'm now working on handling such a case correctly.
By the way, if you specify this font (i.e. a font whose bold
versoin also exists without auto-scaling):

-misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1

Emacs can find the correct bold version (at least in my
environment).

---
Kenichi Handa
address@hidden




reply via email to

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