From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: metrics->rbearing hasn't been initilaized before using in function w32font_text_extents Date: Mon, 26 May 2008 12:17:35 +0200 Message-ID: References: <42b562540805230611v2bd7109t80cc2e916e68a66a@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1211797080 28211 80.91.229.12 (26 May 2008 10:18:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 May 2008 10:18:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Kevin Yu" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 26 12:18: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 1K0Zmk-0007K7-Gs for ged-emacs-devel@m.gmane.org; Mon, 26 May 2008 12:18:34 +0200 Original-Received: from localhost ([127.0.0.1]:37955 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0Zlz-0007q9-Do for ged-emacs-devel@m.gmane.org; Mon, 26 May 2008 06:17:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K0Zlt-0007q0-Qb for emacs-devel@gnu.org; Mon, 26 May 2008 06:17:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K0Zls-0007pZ-VV for emacs-devel@gnu.org; Mon, 26 May 2008 06:17:41 -0400 Original-Received: from [199.232.76.173] (port=53308 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0Zls-0007pW-RP for emacs-devel@gnu.org; Mon, 26 May 2008 06:17:40 -0400 Original-Received: from wa-out-1112.google.com ([209.85.146.183]:63598) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K0Zls-0008BI-FR for emacs-devel@gnu.org; Mon, 26 May 2008 06:17:40 -0400 Original-Received: by wa-out-1112.google.com with SMTP id m34so2574301wag.10 for ; Mon, 26 May 2008 03:17:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=/8v+udRXV1sqkeohEQtbk+YGBLj4i7yDQB0Sq8mc3yE=; b=nFinwgwpfVyZkGxcGZO05RbUFT9L0rfSvBcsal9T2H0JVcKQfVrvA4t++dOWB9Iih2H2SoLBo57Pukf+x8McqnlMSZ/4mUDlnHep4/6lQO/oKzsq42QkIIcvFzhB1gGUXB2KfXqgoBJ0oEQklfxsk1g9LvbefZpjwWw3RmzehzY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bO0Ql97erHmAoqLYCYyEh6zi12LkUt07jCFnRIB+JpvgXC0TNKyxdd3+gL+mwZ5g5VSzvJvcYJGznldz1YVvS+yU6l/wR+hA7jpQ2qgojLrRCm/FQLpLRSKU88XVDvutsn5lvFnO0UHckA2I+WPIaSm5AmoAN85/wzgagYn8zws= Original-Received: by 10.114.113.1 with SMTP id l1mr5284669wac.226.1211797055566; Mon, 26 May 2008 03:17:35 -0700 (PDT) Original-Received: by 10.114.167.17 with HTTP; Mon, 26 May 2008 03:17:35 -0700 (PDT) In-Reply-To: <42b562540805230611v2bd7109t80cc2e916e68a66a@mail.gmail.com> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:97712 Archived-At: On Fri, May 23, 2008 at 3:11 PM, Kevin Yu wrote: > It causes unnecessary redrawing, because you will get a big > overhang value. Is it a bug? I don't know if it causes unnecessary redrawing, but it certainly seems like a bug, because it is later used metrics->rbearing = max (metrics->rbearing, metrics->width + char_metric->rbearing); without apparently being initialized anywhere. Juanma