From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kiwon Um Newsgroups: gmane.emacs.help Subject: Re: different fonts and different heights Date: Fri, 31 Jul 2009 19:55:11 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <86iqh8jw5m.fsf@betla.izb.knu.ac.kr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1249098049 15821 80.91.229.12 (1 Aug 2009 03:40:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Aug 2009 03:40:49 +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 05:40:42 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 1MX5Sb-0008LQ-6d for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Aug 2009 05:40:41 +0200 Original-Received: from localhost ([127.0.0.1]:54983 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MX5Sa-0000lc-IJ for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jul 2009 23:40:40 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!b25g2000prb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 62 Original-NNTP-Posting-Host: 163.152.71.53 Original-X-Trace: posting.google.com 1249095311 9901 127.0.0.1 (1 Aug 2009 02:55:11 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 1 Aug 2009 02:55:11 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: b25g2000prb.googlegroups.com; posting-host=163.152.71.53; posting-account=6v9_LQoAAACIrmHTUxB_-iw-j364OtYr User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; ko-KR; rv:1.9.1.1) Gecko/20090717 Fedora/3.5.1-1.fc11 Firefox/3.5.1,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:171421 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor 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:66606 Archived-At: On 8=EC=9B=941=EC=9D=BC, =EC=98=A4=EC=A0=848=EC=8B=9C00=EB=B6=84, Byung-Hee= HWANG wrote: > 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: > > =C2=A0 =C2=A0 (set-face-font 'default (font-spec :family "terminus" :si= ze 12.0)) > > =C2=A0 =C2=A0 (set-fontset-font nil 'korean-ksc5601 > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 (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! =C2=A0 > > Sincerely, > > -- > "Mr. Woltz suggested you bring an overnight bag and he'll get you to the > airport in the morning." > "I'll do that." > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 -- The secretary = and Tom Hagen, "Chapter 1", page 58 Thanks for your reply. I posted this content to KLDP too. Thanks. :)