From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Lost antialias? Date: Sun, 22 Jun 2008 06:06:51 +0900 Message-ID: <87d4mamr9w.fsf@uwakimon.sk.tsukuba.ac.jp> References: <485230EB.9070203@alice.it> <48546807.8010406@alice.it> <87abhmgmko.fsf@stupidchicken.com> <87abhkndo9.fsf@stupidchicken.com> <87skv7d6sa.fsf@stupidchicken.com> <87lk0z1w3e.fsf@catnip.gol.com> <87ej6rpqh0.fsf@stupidchicken.com> <87abhf1mxe.fsf@catnip.gol.com> <874p7n1jb9.fsf@catnip.gol.com> <878wwzmg2j.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214081668 3932 80.91.229.12 (21 Jun 2008 20:54:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Jun 2008 20:54:28 +0000 (UTC) Cc: handa@m17n.org, emacs-devel@gnu.org, Miles Bader To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 21 22:55:13 2008 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 1KAA76-0002tY-PP for ged-emacs-devel@m.gmane.org; Sat, 21 Jun 2008 22:55:13 +0200 Original-Received: from localhost ([127.0.0.1]:38738 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAA6H-0000kj-Gm for ged-emacs-devel@m.gmane.org; Sat, 21 Jun 2008 16:54:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KAA5s-0000d1-QY for emacs-devel@gnu.org; Sat, 21 Jun 2008 16:53:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KAA5r-0000cO-9T for emacs-devel@gnu.org; Sat, 21 Jun 2008 16:53:56 -0400 Original-Received: from [199.232.76.173] (port=54171 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAA5r-0000cJ-4N for emacs-devel@gnu.org; Sat, 21 Jun 2008 16:53:55 -0400 Original-Received: from mtps02.sk.tsukuba.ac.jp ([130.158.97.224]:57478) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KAA5f-0003Je-N8; Sat, 21 Jun 2008 16:53:44 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps02.sk.tsukuba.ac.jp (Postfix) with ESMTP id CC9ED8014; Sun, 22 Jun 2008 05:53:41 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 90A5F1A25C3; Sun, 22 Jun 2008 06:06:51 +0900 (JST) In-Reply-To: X-Mailer: VM ?bug? under XEmacs 21.5.21 (x86_64-unknown-linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:99635 Archived-At: Eli Zaretskii writes: > > > I actually think that it might be not a good idea to change the > > > default font selection depending on the LANG setting. What are the > > > advantages of such an approach? Are there other GUI applications that > > > behave similarly? > > > > It's fontconfig that does it, not Emacs. > > But Emacs calls it, doesn't it? So we could set up things for the > results to be consistent across LANG settings, if we decide that to be > TRT. You don't want to do that. The immediate counterexample is Japanese and Chinese. There is a complete overlap in repertoire for the Japanese syllabary, as well as a 90% overlap in the most common hanzi. This means that there will be no way currently available to Emacs to detect the "right" font for text/plain;charset=utf-8 unless you pay attention to locale. This matters; Japanese and Chinese have quite different tastes in glyphs, and as a non-reader of Chinese and a non-native reader of Japanese, I have to say that to me, Chinese fonts look more like pointillist art than text. >From the XEmacs sources: /* #### It's my branch, my favorite charsets get checked first! That's a joke, Son. Ie, I don't know what I'm doing, so my charsets first is as good as any other arbitrary order. If you have a better idea, speak up! */ I've been ragged on about this on several occasions over the last three or four years, but I still don't have a better idea---and neither do my detractors. I don't claim to have worked on it systematically, but with that history do you think it's worth the hard work it will take to come up with a "good" generic ordering? That's up to you, of course.