emacs-devel
[Top][All Lists]
Advanced

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

Re: set-face-attribute and floating point :height values


From: Giorgos Keramidas
Subject: Re: set-face-attribute and floating point :height values
Date: Mon, 31 Jan 2011 19:09:25 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

On Mon, 31 Jan 2011 14:04:11 -0800, "Drew Adams" <address@hidden> wrote:
>> > You're saying: make the default font height be 1.4 times the default
>> > font height. The default font height must be absolute.
>> > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2659
>>
>> Ah, I see now.  So the underlying face must already have
>> *some* :height value, so this is not the right way to
>> specify the initial face-height.
>
> It might help if the doc either avoided the undefined term "underlying
> face" or explained what it means by that.

I think the use of the term 'underlying face' is a nice and compact way
of describing that floating point :height values are multipliers for any
:height inherited from another face.  But it's confusing that there is
an exception for the 'default' face that makes this particular format of
:height value invalid for just this *one* exception.

Maybe we should fix the doc string to mention this exception and
explicitly mention 'inheritance' instead of the 'underlying face'.




reply via email to

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