From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: XFLD fonts broken on w32 since around font-backend merge Date: Mon, 26 May 2008 15:14:58 +0100 Message-ID: <483AC5E2.1070203@gnu.org> References: <483AC2B9.5000007@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 1211811368 10813 80.91.229.12 (26 May 2008 14:16:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 May 2008 14:16:08 +0000 (UTC) Cc: 316-done@emacsbugs.donarmstrong.com To: emacs-pretest-bug Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 26 16:16:48 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 1K0dUW-0003bs-Vl for ged-emacs-devel@m.gmane.org; Mon, 26 May 2008 16:16:01 +0200 Original-Received: from localhost ([127.0.0.1]:41684 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0dTl-0002RU-SE for ged-emacs-devel@m.gmane.org; Mon, 26 May 2008 10:15:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K0dTi-0002RP-Ub for emacs-devel@gnu.org; Mon, 26 May 2008 10:15:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K0dTi-0002RD-4D for emacs-devel@gnu.org; Mon, 26 May 2008 10:15:10 -0400 Original-Received: from [199.232.76.173] (port=44140 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0dTh-0002RA-UP for emacs-devel@gnu.org; Mon, 26 May 2008 10:15:09 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:44128) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K0dTh-0006S6-O7 for emacs-devel@gnu.org; Mon, 26 May 2008 10:15:09 -0400 Original-Received: from mail.gnu.org ([199.232.76.166]:50782 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1K0dS8-0002yL-Tw for emacs-pretest-bug@gnu.org; Mon, 26 May 2008 10:13:33 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1K0dTa-0006RW-NU for emacs-pretest-bug@gnu.org; Mon, 26 May 2008 10:15:09 -0400 Original-Received: from mk-outboundfilter-4.mail.uk.tiscali.com ([212.74.114.32]:38930) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K0dTZ-0006RK-QZ for emacs-pretest-bug@gnu.org; Mon, 26 May 2008 10:15:02 -0400 Original-X-Trace: 86828958/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: AngFAE9iOkhTQxds/2dsb2JhbACBVapB X-IronPort-AV: E=Sophos;i="4.27,542,1204502400"; d="scan'208";a="86828958" 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; 26 May 2008 15:15:00 +0100 Original-Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id D143A42E; Mon, 26 May 2008 15:15:00 +0100 (BST) User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: <483AC2B9.5000007@gnu.org> X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:97721 gmane.emacs.pretest.bugs:22443 Archived-At: Jason Rumney wrote: > Emacs now seems to only recognize that font if the slant is specified > as "normal" rather than "r", and the spacing as "m" (previous versions > of Emacs on Windows only used "c" and "p" here, but up until the merge > of font-backend code, Emacs seemed to be happy using a font with > FONT_SPACING_MONO when "c" was specified). It turns out that only the latter is causing the failure, so I've changed the w32 font backends to report FONT_SPACING_CHARCELL for all monospaced fonts rather than FONT_SPACING_MONO. The use of normal/italic/oblique for the slant field in font_unparse_xfld could still be causing problems elsewhere (eg there seem to be reports still open of some fonts no longer working with the freetype and xft backends, which could be caused by inconsistencies in xfld names like this, at least while XFLD is still being used as our primary format for names).