emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: help-default-arg-highlight


From: Kenichi Handa
Subject: Re: help-default-arg-highlight
Date: Mon, 31 May 2004 17:54:33 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Miles Bader <address@hidden> writes:
> It seems the right thing to is to make `display-supports-face-attributes-p'
> work correctly for fonts; I didn't do so when I originally added that
> function because I find emacs' font-handling code very messy and confusing
> (and at the time I had different goals for that function).  Perhaps
> somebody with more knowledge of the font code might want to look at it.

I think the most messy part is that the current mechanism
always puts the highest priority on family.  So, if family
is not specified, Emacs tries to find an italic font only
among the fonts of the same family as the default font.

If you also specify the family as "*", perhaps Emacs can
find an italic font.

Ideally we should get a list of ALL available fonts and find
a best matching one according to selection-order specific to
each face (defaults to face-font-selection-order).  But, as
you know, getting such a list is very slow on X.  Completely
shifting to Xft may solve this problem.

---
Ken'ichi HANDA
address@hidden




reply via email to

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