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: different fonts and different heights Date: Fri, 31 Jul 2009 02:57:02 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1249038789 25136 80.91.229.12 (31 Jul 2009 11:13:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jul 2009 11:13:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 31 13:13:03 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 1MWq2o-00026x-GM for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jul 2009 13:13:02 +0200 Original-Received: from localhost ([127.0.0.1]:60045 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWq2o-0001eV-7y for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jul 2009 07:13:02 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!d36g2000prb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Original-NNTP-Posting-Host: 163.152.71.53 Original-X-Trace: posting.google.com 1249034222 9898 127.0.0.1 (31 Jul 2009 09:57:02 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 31 Jul 2009 09:57:02 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d36g2000prb.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:171377 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:66563 Archived-At: 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.