emacs-devel
[Top][All Lists]
Advanced

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

Re: `font-face-attributes' sometimes returns bogus :height value


From: Chong Yidong
Subject: Re: `font-face-attributes' sometimes returns bogus :height value
Date: Fri, 20 Jun 2008 19:23:10 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>>> If `font-face-attributes' is called without a specified height, it
>>> returns an attribute list containing `:height nil', which is invalid.
>>
>>> Since it is quite useful to work with no specified, I think this case
>>> should be supported properly.
>>
>>> To make this work means either omitting the :height attribute entirely
>>> from the returned attribute-list, or alternatively, keeping it, but
>>> using `:height unspecified' for the height.
>>
>> I think :weight thru :width should also be omitted or
>> `unspecified' in the above case.

Done.




reply via email to

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