From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Byung-Hee HWANG Newsgroups: gmane.emacs.help Subject: Re: different fonts and different heights Date: Sat, 01 Aug 2009 08:00:05 +0900 Organization: DJ Message-ID: <86iqh8jw5m.fsf@betla.izb.knu.ac.kr> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1249083645 24333 80.91.229.12 (31 Jul 2009 23:40:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jul 2009 23:40:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 01 01:40:39 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MX1iI-0003hW-Hs for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Aug 2009 01:40:38 +0200 Original-Received: from localhost ([127.0.0.1]:60543 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MX1iI-0005m4-0R for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jul 2009 19:40:38 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!feed118.news.tele.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help X-Url: http://izb.knu.ac.kr/~bh/ User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) Cancel-Lock: sha1:lG33jAMtrdfuJYUc/OvoRRp+PtU= Original-Lines: 56 Original-NNTP-Posting-Host: 155.230.157.159 Original-X-Trace: news.sunsite.dk DXC=Fb<\<=jSffPPJU4WZUlGaXYSB=nbEKnk[l5g0J1242nQ8h?g7^Z`eRUkQ6iZ>iZY]R?jIl2\@oMK^dR\Dk8==DVPSgCh3JU List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:66598 Archived-At: 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, at > least, user must be able to set the base height, IMO. > > To keep the consistency in the height spacing with various widths, > emacs needs to check the largest height value along each specified > charset(fontset). Currently, emacs seems to set the base height as the > value of the default fontset. Then, if the height value of other user- > specified charset's font is larger, it may cause inconsistent result > in line spacing. (This is exactly now happening.) > > So, how can users specify different fontsets with different sizes for > each, but with consistent height? > As you all already know, users can set the line-spacing value to > control the space between lines. But this > works only for the space between lines, not for the height of a line > itself. > > Here is one case with the problem: > (set-face-font 'default (font-spec :family "terminus" :size 12.0)) > (set-fontset-font nil 'korean-ksc5601 > (font-spec :family "Guseul" :registry "unicode- > bmp" :lang "ko" :size 14.0))) > > Thanks. Hello Kiwon, Firstly i can't give you good answer to solve your problem, actually i'm newbie at Emacs. Personally i think this is somewhat local issue what Korean folks can recognize. There is professional Emacs guy in Korea, too. May i introduce the guy to you? Well i think he can solve your problem. Please check out [http://www.emacswiki.org/emacs-ko/hangul.el]. Then contact the author. Good job, Kiwon! Sincerely, -- "Mr. Woltz suggested you bring an overnight bag and he'll get you to the airport in the morning." "I'll do that." -- The secretary and Tom Hagen, "Chapter 1", page 58