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: 23 Apr 2004 02:51:30 +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 1082682274 20016 80.91.224.253 (23 Apr 2004 01:04:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Apr 2004 01:04:34 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, storm@cua.dk Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Apr 23 03:04:27 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 1BGp7D-0002V4-00 for ; Fri, 23 Apr 2004 03:04:27 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BGp7D-0002ZB-00 for ; Fri, 23 Apr 2004 03:04:27 +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 1BGovh-0003th-V1 for emacs-devel@quimby.gnus.org; Thu, 22 Apr 2004 20:52:33 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BGovP-0003sj-1X for emacs-devel@gnu.org; Thu, 22 Apr 2004 20:52:15 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BGour-0003mY-K6 for emacs-devel@gnu.org; Thu, 22 Apr 2004 20:52:12 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BGour-0003mU-CF for emacs-devel@gnu.org; Thu, 22 Apr 2004 20:51:41 -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 1BGotK-000895-93; Thu, 22 Apr 2004 20:50:06 -0400 Original-To: Kenichi Handa In-Reply-To: <200404230033.JAA10583@etlken.m17n.org> Original-Lines: 25 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:22055 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22055 Kenichi Handa writes: > I think the height of the space glyph for the tailing > newline should be the default frame line height in the above > case, and the line height must be desided by all glyphs > including the tailing space. You are confusing line spacing and line height, I think. Line spacing is the distance by which the _baselines_ of different lines are to be set apart unless this could cause overlap. So I think that the space between two baselines should be max(line space of newline, max(all glyph depths of upper line,0) +max(all glyph heights of lower line,0)) where depth is the extent of a glyph below the baseline, and the height is the extent above. We could discuss whether it makes sense to use a maximum value of more than the just the line spacing of the newline character (maybe of the whole lower line?), but if we do, then the parameter "line spacing" should be the same for a complete face (including newline and spaces), whereas height and depth are specific to each glyph. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum