From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: font-backend branch Date: Sun, 04 May 2008 15:14:45 +0100 Message-ID: <481DC4D5.5060606@gnu.org> References: <48190539.4010508@gnu.org> <481AFB40.1050205@gnu.org> <481B16BE.7010608@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1209910506 8844 80.91.229.12 (4 May 2008 14:15:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 May 2008 14:15:06 +0000 (UTC) Cc: emacs-devel@gnu.org, Kenichi Handa To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 04 16:15:41 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 1Jsf09-0000hc-9z for ged-emacs-devel@m.gmane.org; Sun, 04 May 2008 16:15:41 +0200 Original-Received: from localhost ([127.0.0.1]:38309 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JsezR-0004lt-I6 for ged-emacs-devel@m.gmane.org; Sun, 04 May 2008 10:14:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JsezM-0004j0-EO for emacs-devel@gnu.org; Sun, 04 May 2008 10:14:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JsezI-0004co-Qy for emacs-devel@gnu.org; Sun, 04 May 2008 10:14:51 -0400 Original-Received: from [199.232.76.173] (port=49080 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JsezI-0004cc-Hv for emacs-devel@gnu.org; Sun, 04 May 2008 10:14:48 -0400 Original-Received: from mk-outboundfilter-4.mail.uk.tiscali.com ([212.74.114.32]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JsezI-0007eG-Eg for emacs-devel@gnu.org; Sun, 04 May 2008 10:14:48 -0400 Original-X-Trace: 74124502/mk-outboundfilter-2.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: As8EAEliHUhTQxds/2dsb2JhbACBU6d9 X-IP-Direction: IN Original-Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP; 04 May 2008 15:14:47 +0100 Original-Received: from wanchan.jasonr.f2s.com (localhost [127.0.0.1]) by wanchan.jasonrumney.net (Postfix) with ESMTP id 5323318B3; Sun, 4 May 2008 15:14:46 +0100 (BST) User-Agent: Mozilla-Thunderbird 2.0.0.12 (X11/20080420) In-Reply-To: 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:96437 Archived-At: Stefan Monnier wrote: > The bug report doesn't necessarily point to the need to support XFLD, > but rather that (frame-parameter 'font) should return something > that is considered as a font so it can be passed to x-list-fonts and > things like that. > Right. In the current trunk, x-list-fonts is the old way of listing fonts, list-fonts is the new font backend's way (but with slightly different arguments). This affects X more than Windows, because x-list-fonts will only list X core fonts there, whereas font-list will list all active backends' fonts. Once the old font code is removed, we can make x-list-fonts a compatibility layer on top of list-fonts, and tweak it so that it works with any of the supported formats (xfld, fontconfig, font-spec/entity/object) on input.