From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "B. Anyos" Newsgroups: gmane.emacs.devel Subject: Re: crash: divide by 0 Date: Tue, 04 Jan 2005 09:50:35 +0100 Message-ID: <41DA58DB.60702@freemail.hu> References: <41D972B1.8070004@freemail.hu> <41D97B49.2000702@freemail.hu> <200501040052.JAA09191@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1104829357 5786 80.91.229.6 (4 Jan 2005 09:02:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Jan 2005 09:02:37 +0000 (UTC) Cc: sds@gnu.org, Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 04 10:02:27 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ClkaA-0000Wk-00 for ; Tue, 04 Jan 2005 10:02:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ClklL-0007ju-U2 for ged-emacs-devel@m.gmane.org; Tue, 04 Jan 2005 04:14:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Clkkx-0007iP-DK for emacs-devel@gnu.org; Tue, 04 Jan 2005 04:13:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Clkkv-0007hF-As for emacs-devel@gnu.org; Tue, 04 Jan 2005 04:13:33 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Clkkv-0007go-6L for emacs-devel@gnu.org; Tue, 04 Jan 2005 04:13:33 -0500 Original-Received: from [81.0.70.197] (helo=evo2.evosoft.hu) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1ClkZV-0005Zh-TQ; Tue, 04 Jan 2005 04:01:46 -0500 Original-Received: from evosoft.hu (griff.evosoft.hu [172.16.110.26]) by evo2.evosoft.hu (8.12.9p2/8.12.9) with ESMTP id j048obIW010342; Tue, 4 Jan 2005 09:50:37 +0100 (CET) (envelope-from banyos@freemail.hu) Original-Received: from (172.16.110.26) by mcafeeappl.evosoft.hu via smtp id 0c0a_d82bb544_5e2d_11d9_8e79_00114336bc63; Tue, 04 Jan 2005 09:51:37 +0100 (CET) Original-Received: from [172.16.111.121] (banyos2.evosoft.hu [172.16.111.121]) by evosoft.hu (8.12.3/8.12.3) with ESMTP id j048oWTQ002179; Tue, 4 Jan 2005 09:50:32 +0100 (CET) (envelope-from banyos@freemail.hu) User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en Original-To: emacs-devel@gnu.org In-Reply-To: <200501040052.JAA09191@etlken.m17n.org> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-evosoft-evo2-MailScanner-Information: Please contact the ISP for more information X-evosoft-evo2-MailScanner: Found to be clean 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: main.gmane.org gmane.emacs.devel:31795 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31795 > > So, I think you are using Emacs on Mac or Windows. And, as > I found these changelogs in today's emacs: That's true. However I updated my files on 2005-01-03. Probably the fix got into CVS later that day. > > 2005-01-03 Jason Rumney > > * w32bdf.c (w32_load_bdf_font): Set fontp->average_width and > fontp->space_width to FONT_WIDTH so they are valid. > > * w32fns.c (w32_load_system_font): Set FONT_WIDTH to maximum, not > average width. Set fontp->average_width and fontp->space_width to > their appropriate values. > > * w32term.c (x_new_font): Set FRAME_COLUMN_WIDTH to > fontp->average_width, not FONT_WIDTH. Set FRAME_SPACE_WIDTH to > fontp->space_width. > > 2005-01-03 YAMAMOTO Mitsuharu > > * macterm.c (x_new_font): Set FRAME_SPACE_WIDTH. > (x_font_min_bounds, XLoadQueryFont): Use the correct font width > metrics for max and min bounds. > (x_load_font): Correctly calculate average font width metrics. > > perhaps the problem is already fixed. > This is also correct. With these changes the crash didn't appear again. So problem solved. Thanks. > --- > Ken'ichi HANDA > handa@m17n.org > >