From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: S.P.Tseng Newsgroups: gmane.emacs.devel Subject: Re: emacs fontset combination problem Date: Tue, 04 Aug 2009 08:33:21 +0800 Message-ID: <87prbcxvse.fsf@gmail.com> References: <4A769D33.6060503@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249352533 22812 80.91.229.12 (4 Aug 2009 02:22:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Aug 2009 02:22:13 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 04 04:22:07 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MY9fC-0007VQ-OG for ged-emacs-devel@m.gmane.org; Tue, 04 Aug 2009 04:22:07 +0200 Original-Received: from localhost ([127.0.0.1]:52713 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MY9fC-0005aS-2h for ged-emacs-devel@m.gmane.org; Mon, 03 Aug 2009 22:22:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MY7yp-0004cE-FR for emacs-devel@gnu.org; Mon, 03 Aug 2009 20:34:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MY7yk-0004Ux-MJ for emacs-devel@gnu.org; Mon, 03 Aug 2009 20:34:15 -0400 Original-Received: from [199.232.76.173] (port=41120 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MY7yk-0004UD-BJ for emacs-devel@gnu.org; Mon, 03 Aug 2009 20:34:10 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:46147 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MY7yj-0006nz-DZ for emacs-devel@gnu.org; Mon, 03 Aug 2009 20:34:09 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MY7yf-0004mY-2L for emacs-devel@gnu.org; Tue, 04 Aug 2009 00:34:05 +0000 Original-Received: from 222.177.63.79 ([222.177.63.79]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Aug 2009 00:34:05 +0000 Original-Received: from deftsp by 222.177.63.79 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Aug 2009 00:34:05 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 222.177.63.79 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) User-Mail-Address: deftsp@gmail.com Cancel-Lock: sha1:xcyZZVUOLMDjzy7MYXPkS0wUHs8= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:113648 Archived-At: AFAIK, gvim and rxvt-unicode set the base height to the value of the default fontset (usually the height of ASCII characters). As to Asian characters with doulble-width, if its width is smaller than double width of ASCII characters, they will keep the same height with the height of ASCII character, but increase the spacing to let its width equal to the width of two ASCII characters. Kiwon Um writes: >> Hello. Let's discuss about follows. >> >> When we use a combination font-setting of over two fonts in >> emacs, it may be due to the multi-language editing >> support. Those different fonts have varieties in their size, >> e.g. many Asian glyphs occupy double width space of an >> alphabet. (Even though the wide font is not perfectly double >> wide space of one alphabet, many users want that the occupied >> size of one wide character such as Asian character to be exactly >> same with two alphabet characters, namely fixed font setting) >> >> However, we must consider the line spacing, I mean the height of >> the fonts. Although the width between different fonts have >> variation along each other, the height (or line spacing) should >> keep same, or, it would be better to allow user to be able to >> set the base height, IMO. >> >> If it's not, to keep the consistency in the height spacing with >> various widths (size settings) of fonts, emacs needs to check the >> largest height value along each specified >> charset (i.e. fontset). Currently, emacs seems to set the base >> height to the value of the default fontset. Then, if the height >> value of other user-specified charset's font is larger, for line >> having those fonts, it may cause inconsistent result in line >> spacing. (This is exactly now happening.) >>