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: another font-selection inconsistency Date: Tue, 10 Jun 2008 12:40:27 +0100 Message-ID: <484E682B.2080404@gnu.org> References: 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 1213102974 21968 80.91.229.12 (10 Jun 2008 13:02:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Jun 2008 13:02:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 10 15:03:28 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 1K63VH-00017L-3S for ged-emacs-devel@m.gmane.org; Tue, 10 Jun 2008 15:03:11 +0200 Original-Received: from localhost ([127.0.0.1]:44095 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K63US-0005xl-QH for ged-emacs-devel@m.gmane.org; Tue, 10 Jun 2008 09:02:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K63UL-0005uQ-Mj for emacs-devel@gnu.org; Tue, 10 Jun 2008 09:02:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K63UJ-0005s1-II for emacs-devel@gnu.org; Tue, 10 Jun 2008 09:02:12 -0400 Original-Received: from [199.232.76.173] (port=49142 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K63UJ-0005rl-D4 for emacs-devel@gnu.org; Tue, 10 Jun 2008 09:02:11 -0400 Original-Received: from mk-outboundfilter-5-a-2.mail.uk.tiscali.com ([212.74.114.4]:7425) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K63UD-0000FW-Kk; Tue, 10 Jun 2008 09:02:05 -0400 Original-X-Trace: 41754872/mk-outboundfilter-5.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: AgwFAPYXTkhTQxds/2dsb2JhbACBW64g X-IronPort-AV: E=Sophos;i="4.27,617,1204502400"; d="scan'208";a="41754872" 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; 10 Jun 2008 12:40:37 +0100 Original-Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id 44BB2412; Tue, 10 Jun 2008 12:41:00 +0100 (BST) User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D 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:98867 Archived-At: Miles Bader wrote: > Then the resulting font _is_ dejavu sans mono, but is not > anti-aliased. C-u C-x = says: > ... > Then the resulting font is _still_ dejavu sans mono, but _is_ > anti-aliased (it's fairly clear it's the same font, just with > anti-aliasing turned on). C-u C-x = says: > ... > (3) If I then turn around, and do step (1) again, the font "stays" > anti-aliased, so clearly some state that set-frame-font changes, but > set-face-attribute:family:size does not, made a difference...] > A couple of days ago, Kenichi Handa stated that there is currently no priority given to backends. I think fixing this would clear this up. Another thing that might help is making sure that Truetype fonts are not being provided to the xfont backend through your X configuration, but that's a workaround not a solution. Having a consistent priority for backends is also important on Windows, where opentype fonts are provided by both the uniscribe backend (with complex script support and other features) and the gdi backend (with some minor differences in processing for Windows 9x compatibility). My impression before the font-backend branch merge was that there was a consistent priority, even if it was undocumented, but recently there is definitely not.