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: Thu, 01 May 2008 00:48:09 +0100 Message-ID: <48190539.4010508@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 1209599311 818 80.91.229.12 (30 Apr 2008 23:48:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Apr 2008 23:48:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 01 01:49:08 2008 connect(): Connection refused 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 1JrM2s-0006jv-GQ for ged-emacs-devel@m.gmane.org; Thu, 01 May 2008 01:49:06 +0200 Original-Received: from localhost ([127.0.0.1]:49610 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JrM2B-0004gZ-Je for ged-emacs-devel@m.gmane.org; Wed, 30 Apr 2008 19:48:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JrM26-0004e5-S5 for emacs-devel@gnu.org; Wed, 30 Apr 2008 19:48:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JrM25-0004cf-EA for emacs-devel@gnu.org; Wed, 30 Apr 2008 19:48:18 -0400 Original-Received: from [199.232.76.173] (port=53653 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JrM25-0004cP-87 for emacs-devel@gnu.org; Wed, 30 Apr 2008 19:48:17 -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 1JrM24-0002Fc-U4 for emacs-devel@gnu.org; Wed, 30 Apr 2008 19:48:17 -0400 Original-X-Trace: 72019160/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: Aq0EAMOhGEhTQxds/2dsb2JhbACBU6wG 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; 01 May 2008 00:48:15 +0100 Original-Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id A56601E0; Thu, 1 May 2008 00:47:53 +0100 (BST) User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) 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:96252 Archived-At: Kenichi Handa wrote: > As for Windows port: > > I tried to compile it on Windows in cygwin environment. By, > "make bootstrap", it seems that src/oo-spd/i386/emacs.exe is > created, but the make failed at the target finder-data of > lisp/makefile. This is because Cygwin make passes invalid paths to Emacs. > And, when I run src/oo-spd/i386/emacs, it > starts up without an error, but, non-ASCII characters are > not correctly displayed by garbage glyphs. The new code seems to be making a poor choice of font for Latin-1 characters, it is choosing a symbol font which does not contain the characters for me. This was triggering a bug that is also present in the trunk which caused the crash that Juanma experienced. The choice of font for other Latin characters is also not optimal, as the font used for ASCII contains most of these characters, but in the font-backend branch other fonts are chosen. In addition to the bug mentioned above, I got another crash while displaying etc/HELLO which was caused by using s->face->font in w32font_draw. Changing it to use s->font works, but I have no idea what the difference is between these two, and why s->face->font would be NULL while s->font points to a valid font.