From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kiwon Um Newsgroups: gmane.emacs.devel Subject: emacs fontset combination problem Date: Mon, 03 Aug 2009 17:17:55 +0900 Message-ID: <4A769D33.6060503@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040404080002060306030708" X-Trace: ger.gmane.org 1249325879 20705 80.91.229.12 (3 Aug 2009 18:57:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Aug 2009 18:57:59 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 03 20:57:51 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 1MY2jF-0003Zj-FX for ged-emacs-devel@m.gmane.org; Mon, 03 Aug 2009 20:57:51 +0200 Original-Received: from localhost ([127.0.0.1]:39230 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MY2jE-0000np-UF for ged-emacs-devel@m.gmane.org; Mon, 03 Aug 2009 14:57:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXskL-0002MB-Nc for emacs-devel@gnu.org; Mon, 03 Aug 2009 04:18:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXskG-0002IH-9W for emacs-devel@gnu.org; Mon, 03 Aug 2009 04:18:16 -0400 Original-Received: from [199.232.76.173] (port=34855 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXskG-0002I9-3p for emacs-devel@gnu.org; Mon, 03 Aug 2009 04:18:12 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.240]:51261) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXskF-0000ne-IE for emacs-devel@gnu.org; Mon, 03 Aug 2009 04:18:11 -0400 Original-Received: by rv-out-0708.google.com with SMTP id f25so1501150rvb.6 for ; Mon, 03 Aug 2009 01:18:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type; bh=I1V9j0VtICfU1Tj+uhoTgVAqfI68NLa4HREvHtqTB/A=; b=gIPLsHEepagveVuwnp05l0h9r/cc+UGjSKyhnhDW+zYKYLD8SLgNpChMKM1RbHYrx6 0r3Gk6/EQUkzaPbnAMiGIoBoXUHPm3r5e8xgb9AnikvvTa49PyXKMcvyC5xaTj8xZ1cy P9yfV2eTgCvKjUMTiZXN2osOtU9p1UUIh7qyY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; b=sFEPjlmhbEj7Y0XRby8n0X4Ipa08CfzpXFcsDoDxLNwDD3u8J4vXdYpSaE3zM5iDoc v5o27g/sxpwLABIZvN9/4mjuj0ca/Npb8WlhkQbLmRmbdEP8i4N6eNsJ8vsepjcUNCB8 y2HWaNZ+AZnha6uZedlRZVge8Eb/tS5f2WtBM= Original-Received: by 10.140.127.13 with SMTP id z13mr3406095rvc.235.1249287490040; Mon, 03 Aug 2009 01:18:10 -0700 (PDT) Original-Received: from localhost.localdomain ([163.152.71.53]) by mx.google.com with ESMTPS id f42sm34979783rvb.45.2009.08.03.01.18.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 03 Aug 2009 01:18:09 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Mon, 03 Aug 2009 14:10:22 -0400 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:113614 Archived-At: This is a multi-part message in MIME format. --------------040404080002060306030708 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Dear GNU emacs dev team. Hello. I posted a message on the google's emacs.help group. But it seems not to exist any good solution now, so I send it as a quotation: > 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.) > > So, how can user 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 14)) > (set-fontset-font nil 'korean-ksc5601 > (font-spec :family "Guseul" :registry "unicode- > bmp" :lang "ko" :size 16))) > > Thanks. FYI, I attached a figure about what I mean, additionally so you can check it easily. I'm using emacs-cvs version 23.1.50. I think the flexibility of font combination in emacs is one of powerful functionality others haven't. Thanks for your efforts to keep such a good functionality. -- Best regards, Kiwon Um --------------040404080002060306030708 Content-Type: image/png; name="fontonemacs.png" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="fontonemacs.png" iVBORw0KGgoAAAANSUhEUgAAALMAAABuCAIAAADj1rVVAAAAAXNSR0IArs4c6QAAAAlwSFlz AAALEwAACxMBAJqcGAAAAAd0SU1FB9kHHwoMIa70phoAAARpSURBVHja7ZxbSFNxHMf/x82p ZReXWE0ksRtBxijLjKALBRWUQVQIRj1YBF0kwh58iKiEkiIiIqJ66AI9VA8VvUVREhVdWGZZ WllUyzVnFKSRE3s4JsudrZ0zN8/++3zwwXP8n+P09zm/c9l/X8XhcIi/uN1uASCEECKFfwFo Yg1c8HtKtQeNvsp/ip4BgBmAGYAZgBmAGYAZgBmAGYAZgBmAGYAZAJgBmAHG+Gd+BvMwgJ4B A2RGe3tbNL8mys2BngGYAQl0BRrc+e327AFZH8n+wVw4AghTxX5lHvD1kGA9Qy/0AGnNaG9v i+SMwH1KMvaMWENfScZ7E/qBtD3Dbs/WdU/Rb3yo9aH2T/8wLQqfhYd4nE0AMwAzADMAMAMw A6Q3Q/M9P8AM0dBQT8HihtXkry/Mu/bq89MLF86Xl68Lv1UgPHWVxIyKio2jZ1fWVEz95X3r amrLmeIssKc9O1l97JFXHbBs2VLNrTT3dvr0KUqu4+QdZuZOJEehgUNfF/vqWx6f2pxpUYQQ inXEljOPPzzbbWzPvOEnlRlNHk9Rpq1v0TZslre1MXDP6tfirDTMSKKziRDCpiiNnV19i10d L5WU9MABxcUlQojP339TztiaYbYZwue+/KxyjtrzpHer7OlVP1vPBw5obm6O8K9dvXotJTdu Rr/qBk65CF4fPDsw1PrgHQYvanJ0fe2Dazf8NYfrXnjGFs6rqi6rXV4SarDT6QyzK5/Ppw5w uVzUPqqeoZdY3BP6XCdmLGzYtqls+5Icb/PTHQuK7r75EWrwrVs3B+t1Sm6GOWcI/3hTV7Or LpIaFxXNpKiJegUa5fHa9OH91Pz83z3aP333rkX9Jnfh5eeX59MnzGJGJNcNUeKx2CZnpD7v 6PrPsPuVxcVD+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