From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Several suggestions for image support Date: 30 Apr 2004 03:07:45 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083280548 6429 80.91.224.253 (29 Apr 2004 23:15:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Apr 2004 23:15:48 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Apr 30 01:15:40 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BJKkl-0000R0-00 for ; Fri, 30 Apr 2004 01:15:39 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BJKkl-0006ze-00 for ; Fri, 30 Apr 2004 01:15:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BJKfd-0007i0-74 for emacs-devel@quimby.gnus.org; Thu, 29 Apr 2004 19:10:21 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BJKeS-0007V2-ME for emacs-devel@gnu.org; Thu, 29 Apr 2004 19:09:08 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BJKdu-0007Om-OD for emacs-devel@gnu.org; Thu, 29 Apr 2004 19:09:06 -0400 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BJKdO-0007Li-2d; Thu, 29 Apr 2004 19:08:02 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepb.post.tele.dk (Postfix) with SMTP id 38A935EE140; Fri, 30 Apr 2004 01:08:01 +0200 (CEST) Original-To: David Kastrup In-Reply-To: Original-Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22390 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22390 David Kastrup writes: > Anyway, it would be nice if one could specify this relative to a > particular face. Something like > I implemented this proposal, with a few changes: '(line-height . (1.0 . small-face)) '(line-height . (1.2 . t)) ;; means the current face '(line-height . (1.2 . nil)) ;; same as the following '(line-height . 1.2) ;; relative to default The same values can be specified for the line-spacing property. In addition, the line-spacing property value may be negative, in which case the abs value is used as a total line height (so extra pixels are optionally inserted after the line to make its height the specified value, e.g. the following are equivalent when the default face is used: 0.5 -1.5 But if the default line height is, say 12 pixels, and the current line is 10 pixels, then the line-spacing value of 0.5 adds 6 pixels to the height (resulting in a height of 16 pixels), while -1.5 adds 8 pixels giving a total height of 18 pixels = 1.5 x 12. Can we close this issue now ? -- Kim F. Storm http://www.cua.dk