From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: unicode font-backend + tiling Date: Tue, 05 Dec 2006 15:07:05 +0900 Message-ID: References: <87ejrffa4k.fsf@catnip.gol.com> Reply-To: Miles Bader NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Trace: sea.gmane.org 1165298898 32160 80.91.229.10 (5 Dec 2006 06:08:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Dec 2006 06:08:18 +0000 (UTC) Cc: sdl.web@gmail.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 05 07:08:14 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GrTTK-0005o9-6N for ged-emacs-devel@m.gmane.org; Tue, 05 Dec 2006 07:08:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GrTTJ-0000vJ-Jf for ged-emacs-devel@m.gmane.org; Tue, 05 Dec 2006 01:08:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GrTSV-0000Z6-5D for emacs-devel@gnu.org; Tue, 05 Dec 2006 01:07:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GrTST-0000Xh-75 for emacs-devel@gnu.org; Tue, 05 Dec 2006 01:07:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GrTSS-0000XS-Nj for emacs-devel@gnu.org; Tue, 05 Dec 2006 01:07:12 -0500 Original-Received: from [202.32.8.193] (helo=tyo201.gate.nec.co.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GrTSR-0003TX-Da; Tue, 05 Dec 2006 01:07:11 -0500 Original-Received: from relay11.aps.necel.com ([10.29.19.46]) by tyo201.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id kB5671bX028889; Tue, 5 Dec 2006 15:07:07 +0900 (JST) Original-Received: from relay21.aps.necel.com ([10.29.19.20] [10.29.19.20]) by relay11.aps.necel.com with ESMTP; Tue, 5 Dec 2006 15:07:07 +0900 Original-Received: from dhapc248.dev.necel.com ([10.114.97.235] [10.114.97.235]) by relay21.aps.necel.com with ESMTP; Tue, 5 Dec 2006 15:07:07 +0900 Original-Received: by dhapc248.dev.necel.com (Postfix, from userid 31295) id 076AB425; Tue, 5 Dec 2006 15:07:06 +0900 (JST) Original-To: Kenichi Handa System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: (Kenichi Handa's message of "Tue\, 05 Dec 2006 14\:16\:14 +0900") Original-Lines: 37 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:63298 Archived-At: Kenichi Handa writes: >> Couldn't Emacs, by default at least, just let xft/freetype/whatever >> decide? > > Perhaps possible for xft backend. I've just installed a > change for that. I just tried your change, and it's still using AA at normal sizes. Here's the lisp I used to enable CJK AA (which I got from an earlier post of yours); is there a better way to do it?: (set-fontset-font "fontset-default" 'kana "さざみゴシック") (set-fontset-font "fontset-default" 'han "さざみゴシック") However I've _also_ just tried my test in gnome-terminal and some other gnome apps, and they do the same thing (use AA always, even for CJK) in the "body" text. However the same programs use non-AA CJK text in menus etc.! So I don't know where that decision is getting made.... Firefox on the other hand, even its "body" text, uses AA at small sizes, non-AA at normal sizes, and AA at big sizes, which I gather is the desired behavior. >> I was under the impression that other apps just did that, and >> it seems to work well (roman letters use aa, cjk doesn't use aa at >> "normal" sizes, but _does_ at big sizes). > > I've thought that aa is useful for small sizes. Yes, it is, but I didn't test at small sizes... :-) I think firefox uses AA for CJK at small sizes too. -Miles -- I'd rather be consing.