From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Several suggestions for image support Date: Thu, 29 Apr 2004 11:06:12 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200404290206.LAA27706@etlken.m17n.org> References: <200404230033.JAA10583@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1083204532 1150 80.91.224.253 (29 Apr 2004 02:08:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Apr 2004 02:08:52 +0000 (UTC) Cc: dak@gnu.org, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Apr 29 04:08:46 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 1BJ0yk-0002Rn-00 for ; Thu, 29 Apr 2004 04:08:46 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BJ0yk-0001SG-00 for ; Thu, 29 Apr 2004 04:08:46 +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 1BJ0yK-0000FX-7B for emacs-devel@quimby.gnus.org; Wed, 28 Apr 2004 22:08:20 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BJ0xs-0000B0-ER for emacs-devel@gnu.org; Wed, 28 Apr 2004 22:07:52 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BJ0xR-0008IS-Ms for emacs-devel@gnu.org; Wed, 28 Apr 2004 22:07:51 -0400 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BJ0wN-00077X-UI; Wed, 28 Apr 2004 22:06:20 -0400 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.11.6p2/8.11.6) with ESMTP id i3T26D824819; Thu, 29 Apr 2004 11:06:14 +0900 (JST) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.6p2/8.11.6) with ESMTP id i3T26C923790; Thu, 29 Apr 2004 11:06:12 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id LAA27706; Thu, 29 Apr 2004 11:06:12 +0900 (JST) Original-To: storm@cua.dk In-reply-to: (storm@cua.dk) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) 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:22328 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22328 In article , storm@cua.dk (Kim F. Storm) writes: > I have just installed changes to revert to the 21.3 functionality for > newline height calculation, that is, use the current face font height > (by default). > Then I added a new line-height property on the newline with the > following values: > 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 If there's no line-height property, a height of a space glyph (for SPC, TAB, NL) is decided by the height of a SPACE glyph of a font. But, it seems that we can make their height exactly what requested by a face. Then I think we don't have to introduce line-height property. Each line-height property value can be simulated as follows. nil -- do nothing t -- add `default' face 0 -- make a face of height 0 and add it N -- make a face by :height N (but specifies it by 1/10 pt) and add it. F -- make a face by :height F and add it --- Ken'ichi HANDA handa@m17n.org