From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Several suggestions for image support Date: 27 Apr 2004 16:00:52 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200404230033.JAA10583@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083075756 519 80.91.224.253 (27 Apr 2004 14:22:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Apr 2004 14:22:36 +0000 (UTC) Cc: Miles Bader , Kenichi Handa , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Apr 27 16:22:26 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 1BITTe-0000kw-00 for ; Tue, 27 Apr 2004 16:22:26 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BITTd-0007aj-00 for ; Tue, 27 Apr 2004 16:22:25 +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 1BITSS-0002Rw-U0 for emacs-devel@quimby.gnus.org; Tue, 27 Apr 2004 10:21:12 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BITRQ-0002MI-5E for emacs-devel@gnu.org; Tue, 27 Apr 2004 10:20:08 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BITQG-0001kH-IY for emacs-devel@gnu.org; Tue, 27 Apr 2004 10:19:28 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BIT97-0005C2-Ct for emacs-devel@gnu.org; Tue, 27 Apr 2004 10:01:13 -0400 Original-Received: from fencepost.gnu.org ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.24) id 1BIT6o-0002tu-NS; Tue, 27 Apr 2004 09:58:51 -0400 Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Lines: 40 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:22240 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22240 David Kastrup writes: > storm@cua.dk (Kim F. Storm) writes: > > > Miles Bader writes: > > > > > David Kastrup writes: > > > > > nil -> use height of current face (the default) > > > > > t -> use default face height (as minimum height) > > > > > 0 -> use (don't increase) actual line height > > > > > N (integer > 0) -> use N pixels (as minimum height) > > > > > F (float > 0.0) -> use F * current face font height > > > > > > > > Is 0 a special case of N (use 0 pixels as minimum height)? > > > > > > Sounds like it. > > > > Not exactly -- the 0 value is a little special in the sense that it > > _also_ tries to reposition the ascent/descent of the space glyph > > so that when the cursor is on that glyph, as much as possible of the > > cursor is visible. > > Ok, here is my take on it: the height of the newline glyph is more or > less relevant when we visibly mark a region or change the background > locally in any other manner or have the cursor box on it: then the > skyline of the top is given by the glyph height, right? It would > appear to me that for this purpose it would be most consistent if we > used the same rules for spaces as for newline. The rule I would > propose is the following: always use the height of the _current_ font > at the point of the space or newline, unless that would exceed the > actually available height (which normally will never fall behind the > ascent of the default font, unless we use text properties on the > newline character). > > 0 will be a special case, I mean, will _not_ be a special case. Sorry. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum