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: 22 Apr 2004 20:17:37 +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 1082659483 30259 80.91.224.253 (22 Apr 2004 18:44:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Apr 2004 18:44:43 +0000 (UTC) Cc: emacs-devel@gnu.org, "Kim F. Storm" Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Apr 22 20:44:36 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 1BGjBc-000280-00 for ; Thu, 22 Apr 2004 20:44:36 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BGjBc-0005AE-00 for ; Thu, 22 Apr 2004 20:44:36 +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 1BGj57-0007GW-6A for emacs-devel@quimby.gnus.org; Thu, 22 Apr 2004 14:37:53 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BGj48-0007As-Ns for emacs-devel@gnu.org; Thu, 22 Apr 2004 14:36:52 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BGj3X-0006wW-DW for emacs-devel@gnu.org; Thu, 22 Apr 2004 14:36:46 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BGili-0001qT-OB for emacs-devel@gnu.org; Thu, 22 Apr 2004 14:17:50 -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 1BGik9-0002MP-Id; Thu, 22 Apr 2004 14:16:14 -0400 Original-To: rms@gnu.org In-Reply-To: Original-Lines: 37 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:22039 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22039 Richard Stallman writes: > However, I have fixed the treatment of newline characters > so that non-empty lines are no longer made a minimum > height equal to the frame default line height. > > That could have bad effects in many cases. > > I don't think it is ok, unless it is limited to special conditions. Then let us limit it to special conditions. Line spacing is usually used for two conflicting purposes: a) keep material from separate lines apart b) provide a regular grid on which lines are placed. I have no idea what the current semantics actually are, but I'd propose the following: Two adjacent lines have their baselines separated by the value of line spacing corresponding to the face that is valid for the newline character between them unless overriden by a special "line-spacing" property or similar. Unless this would cause overlap of the descenders of the upper line and the ascenders of the lower line in which case the line distance will be increased until no overlap occurs. This means that for the application I have in mind, I will have to particularly mark the newline characters as "line spacing 0". Since it would probably be a nuisance to require installation of a special face here, it would be nice if we had a special text property that could be used for the purpose of fixing the minimal line spacing. Does this sound like a reasonable scheme? -- David Kastrup, Kriemhildstr. 15, 44793 Bochum