10 Mar 03:24
Re: wrong font-size calculations in css.el and font.el
From: Magnus Henoch <mange <at> freemail.hu>
Subject: Re: wrong font-size calculations in css.el and font.el
Newsgroups: gmane.emacs.w3.devel
Date: 2007-03-10 02:24:43 GMT
Subject: Re: wrong font-size calculations in css.el and font.el
Newsgroups: gmane.emacs.w3.devel
Date: 2007-03-10 02:24:43 GMT
Klaus Straubinger <KSNetz <at> UseNet.ArcorNews.DE> writes: > The function css-expand-length does not take the default character size > in pixels into account when calculating em and ex values. This results > typically in values very much too large. I'm not quite sure about this anymore... It seems to me that css-expand-length is supposed to return the number of character cells needed to fill the given length (at least w3-display-handle-list-type in w3-display.el assumes that; see the format string involving "margin"), not the length in points; the previous version did the former, but apparently (see <URL:http://article.gmane.org/gmane.emacs. devel/67607>) this makes lists annoyingly wide. What problem was this change supposed to solve? Magnus
RSS Feed