[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `font-face-attributes' sometimes returns bogus :height value
From: |
Kenichi Handa |
Subject: |
Re: `font-face-attributes' sometimes returns bogus :height value |
Date: |
Tue, 17 Jun 2008 13:55:16 +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>, Miles Bader <address@hidden> writes:
> If `font-face-attributes' is called without a specified height, it
> returns an attribute list containing `:height nil', which is invalid.
> E.g.
> (font-face-attributes "Dejavu Serif")
>>> (:family "Dejavu Serif" :height nil :weight normal :slant normal :width
>>> normal)
> 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.
---
Kenichi Handa
address@hidden