From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Fixed-pitch and variable-pitch faces Date: Sun, 08 Jun 2008 21:29:57 -0400 Message-ID: <877icz5rai.fsf@stupidchicken.com> References: <871w39mcx5.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212975216 4128 80.91.229.12 (9 Jun 2008 01:33:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Jun 2008 01:33:36 +0000 (UTC) Cc: monnier@iro.umontreal.ca, James Cloos , emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 09 03:34:18 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 1K5WH3-0003WE-IY for ged-emacs-devel@m.gmane.org; Mon, 09 Jun 2008 03:34:17 +0200 Original-Received: from localhost ([127.0.0.1]:52531 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5WGG-0003hc-Fg for ged-emacs-devel@m.gmane.org; Sun, 08 Jun 2008 21:33:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5WGC-0003gf-FL for emacs-devel@gnu.org; Sun, 08 Jun 2008 21:33:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5WGB-0003fJ-19 for emacs-devel@gnu.org; Sun, 08 Jun 2008 21:33:24 -0400 Original-Received: from [199.232.76.173] (port=45899 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5WGA-0003f5-P3 for emacs-devel@gnu.org; Sun, 08 Jun 2008 21:33:22 -0400 Original-Received: from c-98-216-111-182.hsd1.ma.comcast.net ([98.216.111.182]:10001 helo=furry) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K5WGB-0000r0-FO for emacs-devel@gnu.org; Sun, 08 Jun 2008 21:33:23 -0400 Original-Received: by furry (Postfix, from userid 1000) id C1835C054; Sun, 8 Jun 2008 21:29:57 -0400 (EDT) In-Reply-To: (Kenichi Handa's message of "Sun, 08 Jun 2008 20:29:28 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:98744 Archived-At: Kenichi Handa writes: > In article , James Cloos writes: > [...] >> The complication, of course, is when multiple font backends are in use. >> I run with just xft. If you have x,xft then it is probably right for >> the Helvetica bitmap to win out. If xft,x then that might be debatable: >> whether 'tis better to give primary weight to the name or to the technology? > > FYI, the current font-selection code doesn't pay attention > to the order of font backends. I guess we can worry about this problem after making the fontconfig backend recognize the necessary mappings, which it currently does not. (For example, (list-fonts (font-spec :family "courier")) returns only x-backend fonts.) Do you know how to do that? If performing the mappings is non-trivial (e.g., if we have to manually parse a file in /etc), maybe it's simpler to abolish the `variable-pitch' and `fixed-pitch' faces. I don't think they serve much of a purpose anyway.