From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Lost antialias? Date: Sat, 21 Jun 2008 14:08:51 -0400 Message-ID: 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214071752 7022 80.91.229.12 (21 Jun 2008 18:09:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Jun 2008 18:09:12 +0000 (UTC) Cc: cyd@stupidchicken.com, angelo.graziosi@alice.it, emacs-devel@gnu.org, Miles Bader To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 21 20:09:56 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 1KA7XA-0002Rh-2s for ged-emacs-devel@m.gmane.org; Sat, 21 Jun 2008 20:09:56 +0200 Original-Received: from localhost ([127.0.0.1]:56258 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KA7WK-0006Aq-UF for ged-emacs-devel@m.gmane.org; Sat, 21 Jun 2008 14:09:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KA7WH-0006AW-AJ for emacs-devel@gnu.org; Sat, 21 Jun 2008 14:09:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KA7WF-0006A0-Jr for emacs-devel@gnu.org; Sat, 21 Jun 2008 14:09:00 -0400 Original-Received: from [199.232.76.173] (port=52993 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KA7WF-00069v-GP for emacs-devel@gnu.org; Sat, 21 Jun 2008 14:08:59 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:54737 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KA7WA-0007Vh-Es; Sat, 21 Jun 2008 14:08:54 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvAEABPhXEjO+KWv/2dsb2JhbACBW6xy X-IronPort-AV: E=Sophos;i="4.27,684,1204520400"; d="scan'208";a="23055495" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 21 Jun 2008 14:08:51 -0400 Original-Received: from pastel.home ([206.248.165.175]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id BYD42951; Sat, 21 Jun 2008 14:08:51 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 174827F05; Sat, 21 Jun 2008 14:08:51 -0400 (EDT) In-Reply-To: (Kenichi Handa's message of "Sat, 21 Jun 2008 20:33:40 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:99614 Archived-At: >> Maybe it would be also useful to support something like web-browsers >> use, where you could specify a "family" of "Dejavu Sans,Helvetica,Sans", >> and it would split the list at the commas and use the first one it could >> find. > This is a good idea in general, but for the problem of > "variable-pitch" and "fixed-pitch", I think using "sans" and > "mono" are better. As mentioned, you don't have to say "but" because using face-font-family-alternatives gets us *exactly* the above. So, could someone change the fixed-pitch and variable-pitch faces and face-font-family-alternatives accordingly to use (as first choice) the most generic corresponding fontconfig name. BTW, I'm not sure what are the official generic fontconfig names: my /etc/fonts config files seems to say that "sans" and "mono" are deprecated and should be replaced by "sans-serif" and "monospace". Stefan PS: Curiously, it seems that the serif/sans distinction is not taken very seriously for monospace fonts, since I don't see any "mono-sans" or "mono-serif" in fontconfig, and indeed our own face-font-family-alternatives puts together "courier" and "fixed".