From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56808: 29.0.50; Elusive display problem on macOS Date: Thu, 28 Jul 2022 16:37:03 +0300 Message-ID: <83v8rh8ikg.fsf@gnu.org> References: <83r125ai2n.fsf@gnu.org> <83czdpacoi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19730"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56808@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 28 16:08:43 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oH4Bv-000510-55 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Jul 2022 16:08:43 +0200 Original-Received: from localhost ([::1]:41748 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oH4Bt-00081U-Vh for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Jul 2022 10:08:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35140) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oH3iF-0004PZ-8y for bug-gnu-emacs@gnu.org; Thu, 28 Jul 2022 09:38:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39916) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oH3iD-00043K-RD for bug-gnu-emacs@gnu.org; Thu, 28 Jul 2022 09:38:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oH3iD-0003v3-Ld for bug-gnu-emacs@gnu.org; Thu, 28 Jul 2022 09:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Jul 2022 13:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56808 X-GNU-PR-Package: emacs Original-Received: via spool by 56808-submit@debbugs.gnu.org id=B56808.165901542414981 (code B ref 56808); Thu, 28 Jul 2022 13:38:01 +0000 Original-Received: (at 56808) by debbugs.gnu.org; 28 Jul 2022 13:37:04 +0000 Original-Received: from localhost ([127.0.0.1]:57898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oH3hI-0003tU-DK for submit@debbugs.gnu.org; Thu, 28 Jul 2022 09:37:04 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oH3hC-0003sU-Vy for 56808@debbugs.gnu.org; Thu, 28 Jul 2022 09:36:59 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49888) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oH3h7-0003uP-OM; Thu, 28 Jul 2022 09:36:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=VbrjeqQXCFB49+wwMumT+27FJWs5YxSPjHYRb+iHrA0=; b=US0FCvgoRZPmyEAg5AAr f+e1S2VcVEnEbh25HyKKLjLkr0amRDIGmvX5L/kdM2YmtYrhtJTx7I0wgEYQTIXaOlfuuA0i5RAjA QyMXwCtaMx6Vm3vJOZhiykKnoqeUXny/IGrWlUFCUPdaNEvPVUOdeMMwqmR8jIG3VazvO5RAQ0ugk jF2ubSUJHIzFLCdPlUPdOjzyRbT7ykrx5qII0d6YAEatbBwDFZEcYuqrmG2Y9jksNbX/LzbljFWnv lY3mRlY9Lq43rasu8xIxU4Ou6ly/NWH2V4p7bHm7+elfjNmzv1zzqSfpJZgoqL61s7Zg0EzTL23b2 /By2kH0TeVC3MQ==; Original-Received: from [87.69.77.57] (port=3872 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oH3h7-0005LS-8K; Thu, 28 Jul 2022 09:36:53 -0400 In-Reply-To: (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Thu, 28 Jul 2022 14:07:09 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:238116 Archived-At: > From: Gerd Möllmann > Cc: 56808@debbugs.gnu.org > Date: Thu, 28 Jul 2022 14:07:09 +0200 > > Gerd Möllmann writes: > > > This is the font of the default face in both cases... > > And space-width seems to come from nsfont.m:2696, which I found with > LSP/find references: M-? (a.k.a. xref-find-references) cannot find it? > glyph = macfont_get_glyph_for_character (font, ' '); > if (glyph != kCGFontIndexInvalid) > font->space_width = macfont_glyph_extents (font, glyph, NULL, NULL, 0); > else > /* dirty workaround */ > font->space_width = pixel_size; > > I don't think the else branch has been taken, because that wouldn't lead > to a value of 8. Maybe you should run with a watchpoint on font->space_width.