From unknown Wed Sep 10 10:35:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39724: 26.3; Commit 44298ea6aa006ed227e539b02279bd3fc11fd2a6 breaks font display on macOS Resent-From: "John Wiegley" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Feb 2020 21:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39724 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 39724@debbugs.gnu.org Cc: Alan Third , Eli Zaretskii X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158232151924567 (code B ref -1); Fri, 21 Feb 2020 21:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Feb 2020 21:45:19 +0000 Received: from localhost ([127.0.0.1]:48279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5G6o-0006OB-Ty for submit@debbugs.gnu.org; Fri, 21 Feb 2020 16:45:19 -0500 Received: from lists.gnu.org ([209.51.188.17]:37229) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5G6n-0006O3-94 for submit@debbugs.gnu.org; Fri, 21 Feb 2020 16:45:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36323) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5G6l-0004LB-R0 for bug-gnu-emacs@gnu.org; Fri, 21 Feb 2020 16:45:17 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_40,KHOP_HELO_FCRDNS, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42242) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j5G6l-0008RK-8Y; Fri, 21 Feb 2020 16:45:15 -0500 Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:33477) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1j5G6k-0004Ae-EL; Fri, 21 Feb 2020 16:45:14 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id A61D520CBC; Fri, 21 Feb 2020 16:45:12 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 21 Feb 2020 16:45:12 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrkeeggdduhedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgfgggtsehttdertddtredtnecuhfhrohhmpedflfhohhhnucgh ihgvghhlvgihfdcuoehjohhhnhifsehgnhhurdhorhhgqeenucffohhmrghinhepnhgvfi grrhhtihhsrghnshdrtghomhenucfkphepjeeirddvfeegrdeiledrudegleenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjohhhnhifodhmvg hsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdeikeejkedtleeggedqudejjeehfeek udeiqdhjohhhnhifpeepghhnuhdrohhrghesnhgvfigrrhhtihhsrghnshdrtghomh X-ME-Proxy: Received: from localhost (76-234-69-149.lightspeed.frokca.sbcglobal.net [76.234.69.149]) by mail.messagingengine.com (Postfix) with ESMTPA id 123123060F09; Fri, 21 Feb 2020 16:45:11 -0500 (EST) From: "John Wiegley" Date: Fri, 21 Feb 2020 13:45:08 -0800 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (darwin) Mail-Followup-To: bug-gnu-emacs@gnu.org, Alan Third , Eli Zaretskii MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) I noticed recently that no text was displaying in my Emacs 27 windows. As if everything were black and black, except that changing the font and background colors did not help. It took two days of rebuilding, but I've isolated this as the breaking commit: commit 44298ea6aa006ed227e539b02279bd3fc11fd2a6 Author: Alan Third Date: Sat Feb 1 21:17:29 2020 +0000 Use CGImage instead of NSBitmapImageRep (bug#32932) * src/nsterm.m (ns_update_end): (ns_clear_frame): Remove forced draws. (ns_draw_fringe_bitmap): (ns_dumpglyphs_image): No longer need to invert images as the context is already flipped. ([EmacsView updateFrameSize:]): ([EmacsView initFrameFromEmacs:]): Use new function. ([EmacsView createDrawingBuffer]): Replaces createDrawingBufferWithRect:. ([EmacsView focusOnDrawingBuffer]): Set CGImage context. ([EmacsView windowDidChangeBackingProperties:]): Use new function. ([EmacsView copyRect:to:]): Copy using CGImages. ([EmacsView wantsUpdateLayer]): ([EmacsView updateLayer]): New Functions. ([EmacsView drawRect:]): We no longer do anything special here for Cocoa. ([EmacsView windowDidChangeBackingProperties:]): Fix indentation and add NSTRACE. Anything prior to this works as expected. From this commit forward, all windows are black on black. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2 From unknown Wed Sep 10 10:35:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39724: 26.3; Commit 44298ea6aa006ed227e539b02279bd3fc11fd2a6 breaks font display on macOS Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Feb 2020 22:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39724 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 39724@debbugs.gnu.org, eliz@gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org, Eli Zaretskii Received: via spool by submit@debbugs.gnu.org id=B.158232542431186 (code B ref -1); Fri, 21 Feb 2020 22:51:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Feb 2020 22:50:24 +0000 Received: from localhost ([127.0.0.1]:48342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5H7o-00086v-I6 for submit@debbugs.gnu.org; Fri, 21 Feb 2020 17:50:24 -0500 Received: from lists.gnu.org ([209.51.188.17]:47851) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5H7n-00086o-7p for submit@debbugs.gnu.org; Fri, 21 Feb 2020 17:50:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44230) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5H7l-0008HV-Th for bug-gnu-emacs@gnu.org; Fri, 21 Feb 2020 17:50:23 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j5H7k-00061U-Pi for bug-gnu-emacs@gnu.org; Fri, 21 Feb 2020 17:50:21 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:45385) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j5H7k-000616-Gy; Fri, 21 Feb 2020 17:50:20 -0500 Received: by mail-wr1-x435.google.com with SMTP id g3so3733223wrs.12; Fri, 21 Feb 2020 14:50:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=BR4bXo1gw0JPaZ0neqOHeeEMQB//3AtSi9Dx+xveJsI=; b=b1iFYV0BOktST1kcXRtNNWdIVWOacW8mGEPNOym+VB6stt6PdwjgQmq75jNa2V0NTJ ILWSqer2gktDWi7SLeTDyS0pQbJq+bhFHgBNR6N8m41TVdlFi6LSTpHyHE4F6/9pv/Bg t8kzfmf3YKKfF40+84SG/RNCSyTFSveboY2vCdJQkFMYR2una1yZXjedVKxgFrNz3W3V Jl/9ZewntyKhhezyOSpOzjX9j3aMAST4Ftnjsw9qiyxgQBzP5hzYSgLItTO0dEwqi7qB aEVYwlqWWv8En13XdwPiS2I6yG0hcRvcaPR76pNC78oSlYPoSiMYHHwzSxTnYJZjvZD5 OB4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=BR4bXo1gw0JPaZ0neqOHeeEMQB//3AtSi9Dx+xveJsI=; b=ukFRXRUc6fQ5Mn85ovr6W2Op+Qv2GtqMWNKALPjEwuPp78KUgzLz6xVplGom9wEUGj v2kK82MnX1qPWm3+dGY7UJ3QPYoxwWOxUGJEGz2V72hgRn1WoEm/ZFUZuBM/B9XusoaH jJYQw21KTqj+FhA1gWwTPoJK9Ad1Vi59nqcbKHbb5OmnWAmdKbTGs4m1A9s2dSuLw+F0 9MUKlvQp5KAzCdeWWmOPqRCHp1G4LH+beKRsbYIKKmEbi9Iv3H/dkZUm8Sdauav9Yy03 Z8YlenTzWGxi4zHfEEBl92cF/OTd/2oFTyqZ/iAzPtXNVU1wxzFlJ7zMRdjayVPAEE4M 8EPQ== X-Gm-Message-State: APjAAAUgy62pt4yjQqbUs6XVrMHc6KEwTqlyWzIKfbPmXOu+MrjMTpjW vV3QwfE9tOAZAKCHmgcPxRKnZDS8CuE= X-Google-Smtp-Source: APXvYqywcoh7QeVNF/kExGUGSqufC/+pDYBqymY54A9Lxmh4BPybk6/STsds2bv4uK5Y4YcTT5AXFg== X-Received: by 2002:a5d:5007:: with SMTP id e7mr51071509wrt.228.1582325418231; Fri, 21 Feb 2020 14:50:18 -0800 (PST) Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-8996-8c22-b40f-230f.holly.idiocy.org. [2001:8b0:3f8:8129:8996:8c22:b40f:230f]) by smtp.gmail.com with ESMTPSA id x6sm5489587wmi.44.2020.02.21.14.50.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Feb 2020 14:50:17 -0800 (PST) Date: Fri, 21 Feb 2020 22:50:14 +0000 From: Alan Third Message-ID: <20200221225014.GA49998@breton.holly.idiocy.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::435 X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) On Fri, Feb 21, 2020 at 01:45:08PM -0800, John Wiegley wrote: > I noticed recently that no text was displaying in my Emacs 27 windows. As if > everything were black and black, except that changing the font and background > colors did not help. > > It took two days of rebuilding, but I've isolated this as the breaking commit: > > commit 44298ea6aa006ed227e539b02279bd3fc11fd2a6 > Author: Alan Third > Date: Sat Feb 1 21:17:29 2020 +0000 > > Use CGImage instead of NSBitmapImageRep (bug#32932) > > * src/nsterm.m (ns_update_end): > (ns_clear_frame): Remove forced draws. > (ns_draw_fringe_bitmap): > (ns_dumpglyphs_image): No longer need to invert images as the context > is already flipped. > ([EmacsView updateFrameSize:]): > ([EmacsView initFrameFromEmacs:]): Use new function. > ([EmacsView createDrawingBuffer]): Replaces createDrawingBufferWithRect:. > ([EmacsView focusOnDrawingBuffer]): Set CGImage context. > ([EmacsView windowDidChangeBackingProperties:]): Use new function. > ([EmacsView copyRect:to:]): Copy using CGImages. > ([EmacsView wantsUpdateLayer]): > ([EmacsView updateLayer]): New Functions. > ([EmacsView drawRect:]): We no longer do anything special here for > Cocoa. > ([EmacsView windowDidChangeBackingProperties:]): Fix indentation and > add NSTRACE. Hi John, that commit isn’t in the emacs-27 branch, or if it is something has gone terribly wrong. > Anything prior to this works as expected. From this commit forward, all > windows are black on black. Zhang Haijun has reported something similar on the master branch. The compile logs look as though there’s something wrong with his build environment. What version of macOS are you using? Are there any errors or warnings when you build it? -- Alan Third From unknown Wed Sep 10 10:35:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39724: 26.3; Commit 44298ea6aa006ed227e539b02279bd3fc11fd2a6 breaks font display on macOS Resent-From: "John Wiegley" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 Feb 2020 21:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39724 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alan Third Cc: eliz@gnu.org, 39724@debbugs.gnu.org Received: via spool by 39724-submit@debbugs.gnu.org id=B39724.15824915942149 (code B ref 39724); Sun, 23 Feb 2020 21:00:02 +0000 Received: (at 39724) by debbugs.gnu.org; 23 Feb 2020 20:59:54 +0000 Received: from localhost ([127.0.0.1]:51657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5yLy-0000Ya-E9 for submit@debbugs.gnu.org; Sun, 23 Feb 2020 15:59:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40847) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5yLw-0000YN-VR for 39724@debbugs.gnu.org; Sun, 23 Feb 2020 15:59:53 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42332) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j5yLr-0007FQ-Bz; Sun, 23 Feb 2020 15:59:47 -0500 Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:57429) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1j5yLi-0003ou-Qq; Sun, 23 Feb 2020 15:59:40 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id 1917C20CBC; Sun, 23 Feb 2020 15:59:38 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 23 Feb 2020 15:59:38 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrkeekgddugeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfffkfhgfgggtgfesthhqredttderjeenucfhrhhomhepfdflohhh nhcuhghivghglhgvhidfuceojhhohhhnfiesghhnuhdrohhrgheqnecuffhomhgrihhnpe hnvgifrghrthhishgrnhhsrdgtohhmnecukfhppeejiedrvdefgedrieelrddugeelnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhohhhnfi domhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqieekjeektdelgeegqddujeej heefkeduiedqjhhohhhnfieppehgnhhurdhorhhgsehnvgifrghrthhishgrnhhsrdgtoh hm X-ME-Proxy: Received: from localhost (76-234-69-149.lightspeed.frokca.sbcglobal.net [76.234.69.149]) by mail.messagingengine.com (Postfix) with ESMTPA id 5D6C33060D1A; Sun, 23 Feb 2020 15:59:37 -0500 (EST) From: "John Wiegley" In-Reply-To: <20200221225014.GA49998@breton.holly.idiocy.org> (Alan Third's message of "Fri, 21 Feb 2020 22:50:14 +0000") Date: Sun, 23 Feb 2020 12:59:30 -0800 Message-ID: References: <20200221225014.GA49998@breton.holly.idiocy.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >>>>> "AT" =3D=3D Alan Third writes: AT> Hi John, that commit isn=E2=80=99t in the emacs-27 branch, or if it is = something AT> has gone terribly wrong. >> Anything prior to this works as expected. From this commit forward, all >> windows are black on black. You're right, I meant the master branch. AT> Zhang Haijun has reported something similar on the master branch. The AT> compile logs look as though there=E2=80=99s something wrong with his bu= ild AT> environment. What version of macOS are you using? Are there any errors = or AT> warnings when you build it? I'm using Catalina, let me capture the build log for you... On a maybe related note, I now find that ERC is unusably slow: I can type faster than Emacs can display the characters. Given that I've changed nothi= ng about my setup in past months, this could be related to other macOS changes. --=20 John Wiegley GPG fingerprint =3D 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2 From unknown Wed Sep 10 10:35:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39724: 26.3; Commit 44298ea6aa006ed227e539b02279bd3fc11fd2a6 breaks font display on macOS Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Feb 2020 09:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39724 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 39724@debbugs.gnu.org, johnw@gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org,John Wiegley X-Debbugs-Original-Cc: 39724@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158253755217050 (code B ref -1); Mon, 24 Feb 2020 09:46:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Feb 2020 09:45:52 +0000 Received: from localhost ([127.0.0.1]:52898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j6AJA-0004Qs-5h for submit@debbugs.gnu.org; Mon, 24 Feb 2020 04:45:52 -0500 Received: from lists.gnu.org ([209.51.188.17]:53090) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j6AJ4-0004QX-RS for submit@debbugs.gnu.org; Mon, 24 Feb 2020 04:45:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37621) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6AJ0-0003Ap-IX for bug-gnu-emacs@gnu.org; Mon, 24 Feb 2020 04:45:42 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j6AIw-0000k3-Il for bug-gnu-emacs@gnu.org; Mon, 24 Feb 2020 04:45:38 -0500 Received: from mailout-l3b-97.contactoffice.com ([212.3.242.97]:49100) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j6AIu-0000iL-OH; Mon, 24 Feb 2020 04:45:33 -0500 Received: from smtpauth1.co-bxl (smtpauth1.co-bxl [10.2.0.15]) by mailout-l3b-97.contactoffice.com (Postfix) with ESMTP id CAF9C2800; Mon, 24 Feb 2020 10:45:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1582537527; s=20200222-6h9o; d=idiocy.org; i=alan@idiocy.org; h=Date:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding:Subject:To:CC:From:Message-ID; l=767; bh=25Mr0WorsGblSoThrEGVIeR5kSdsLLPDDuB8fk/Tf0o=; b=d8VSfsGl9TjzN3qMnQWyYraRCuZ7fXxbwIiZ4qKDDl6GimBJTXyLZwak/QopzpEy EAnhKVpca9IhiXubQvN6D+AbzFfgW3l96cP1xXZiFnLhftgSgp6RFrhS43NeJjJeN2+ 10VJ3cO57ffxKHU3n70KciYsX6Mt8SSqwtyx+PVMMwOp01KjgDNqQlKJodGLHqRtaH9 g1kvPOX7O1hWc0spRDmPTWP1sJEch4t0STXAsX2zSXGpfDQx6HUAc+BKtHPZr5pFiUs wM1DDQsZTP3et27zwKrmumXUuwqVT1otPPEfN5wxH/wzQgin14RKHL9pkd5O1cAN4am XEezTmlcdw== Received: by smtp.mailfence.com with ESMTPA ; Mon, 24 Feb 2020 10:45:18 +0100 (CET) Date: Mon, 24 Feb 2020 10:45:23 +0100 (CET) User-Agent: K-9 Mail for Android In-Reply-To: References: <20200221225014.GA49998@breton.holly.idiocy.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Alan Third Message-ID: <9B906B55-067E-4F04-A9D5-F4BD351D1665@idiocy.org> X-ContactOffice-Account: com:241649512 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.3.242.97 X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 23 February 2020 20:59:30 GMT, John Wiegley wrote: >>>>>> "AT" =3D=3D Alan Third writes: > >AT> Zhang Haijun has reported something similar on the master branch=2E >The >AT> compile logs look as though there=E2=80=99s something wrong with his = build >AT> environment=2E What version of macOS are you using? Are there any >errors or >AT> warnings when you build it? > >I'm using Catalina, let me capture the build log for you=2E=2E=2E Are you still using Nix to build Emacs? As I recall it used to use the 10= =2E10 build environment even on more modern versions of macOS, so this coul= d still be an incompatibility between the new drawing code and older versio= ns of macOS/XCode=2E --=20 Alan Third From unknown Wed Sep 10 10:35:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39724: 26.3; Commit 44298ea6aa006ed227e539b02279bd3fc11fd2a6 breaks font display on macOS Resent-From: John Wiegley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Feb 2020 17:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39724 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alan Third Cc: 39724@debbugs.gnu.org Received: via spool by 39724-submit@debbugs.gnu.org id=B39724.15825669784290 (code B ref 39724); Mon, 24 Feb 2020 17:57:01 +0000 Received: (at 39724) by debbugs.gnu.org; 24 Feb 2020 17:56:18 +0000 Received: from localhost ([127.0.0.1]:54025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j6Hxq-000177-CY for submit@debbugs.gnu.org; Mon, 24 Feb 2020 12:56:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39089) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j6Hxp-00016u-FS for 39724@debbugs.gnu.org; Mon, 24 Feb 2020 12:56:17 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59092) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j6Hxj-0008FI-NW; Mon, 24 Feb 2020 12:56:11 -0500 Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:38281) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1j6Hxj-0004Wv-9d; Mon, 24 Feb 2020 12:56:11 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id E96A1216CA; Mon, 24 Feb 2020 12:56:10 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 24 Feb 2020 12:56:10 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrledtgddutdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfffkfhgfgggtsehttdertddtredtnecuhfhrohhmpeflohhhnhcu hghivghglhgvhicuoehjohhhnhifsehgnhhurdhorhhgqeenucffohhmrghinhepnhgvfi grrhhtihhsrghnshdrtghomhenucfkphepjeeirddvfeegrdeiledrudegleenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjohhhnhifodhmvg hsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdeikeejkedtleeggedqudejjeehfeek udeiqdhjohhhnhifpeepghhnuhdrohhrghesnhgvfigrrhhtihhsrghnshdrtghomh X-ME-Proxy: Received: from localhost (76-234-69-149.lightspeed.frokca.sbcglobal.net [76.234.69.149]) by mail.messagingengine.com (Postfix) with ESMTPA id DCBDC3060FE0; Mon, 24 Feb 2020 12:56:09 -0500 (EST) From: John Wiegley In-Reply-To: <9B906B55-067E-4F04-A9D5-F4BD351D1665@idiocy.org> (Alan Third's message of "Mon, 24 Feb 2020 10:45:23 +0100 (CET)") Date: Mon, 24 Feb 2020 09:56:04 -0800 Message-ID: References: <20200221225014.GA49998@breton.holly.idiocy.org> <9B906B55-067E-4F04-A9D5-F4BD351D1665@idiocy.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >>>>> "AT" == Alan Third writes: AT> Are you still using Nix to build Emacs? As I recall it used to use the AT> 10.10 build environment even on more modern versions of macOS, so this AT> could still be an incompatibility between the new drawing code and older AT> versions of macOS/XCode. I am using Nix, but it passes this: -DMAC_OS_X_VERSION_MAX_ALLOWED=101200 Which should be recent enough, I'd think. I also need to track down the slowness that I'm seeing, to see which commit introduced that. It will take me a few days to gather all of this information, given how slow the test cycles are. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2 From unknown Wed Sep 10 10:35:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39724: 26.3; Commit 44298ea6aa006ed227e539b02279bd3fc11fd2a6 breaks font display on macOS Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Feb 2020 21:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39724 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: John Wiegley Cc: 39724@debbugs.gnu.org Received: via spool by 39724-submit@debbugs.gnu.org id=B39724.158266480325632 (code B ref 39724); Tue, 25 Feb 2020 21:07:01 +0000 Received: (at 39724) by debbugs.gnu.org; 25 Feb 2020 21:06:43 +0000 Received: from localhost ([127.0.0.1]:56195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j6hPf-0006fM-2F for submit@debbugs.gnu.org; Tue, 25 Feb 2020 16:06:43 -0500 Received: from mailout-l3b-97.contactoffice.com ([212.3.242.97]:51872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j6hPc-0006f9-BH for 39724@debbugs.gnu.org; Tue, 25 Feb 2020 16:06:42 -0500 Received: from smtpauth1.co-bxl (smtpauth1.co-bxl [10.2.0.15]) by mailout-l3b-97.contactoffice.com (Postfix) with ESMTP id 85CAA4DA; Tue, 25 Feb 2020 22:06:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1582664794; s=20200222-6h9o; d=idiocy.org; i=alan@idiocy.org; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To; l=1561; bh=HDlNh/J+tFDvsctqajBV6fhHpKmsvBB77kJS7hY1yoA=; b=ic+b5ILNaEsISsV3tSOSZ1ZROUZa9rR12EcyxEnSE+VIcxbfB+rUo1+z2J0byQLR aI544MsO9RsMWzDQRSlfVcnHp/+OvTmVicmoUtk3SuqTHXK0ui78sOe0WeTY44ZTzXY DGu94nRo2nznNlR/YktdYeeGwmOCdshG5Spu2KEURhOgZZyriFLz3V0I8DRpAcigAFr LrRAVCLAGWBnP4RUNBUiMHiKIzQ0al1MSq/Guyg3MtmF+ZKV7v0wXAG7nJqa+wI8qca 7S0GIJy1AnW9Oxk/Pucx99IHl11q8CVurvjYBNvz3wv5F9kSi1nZK1wQ37noM4gbMad 6XiTkjyZzw== Received: by smtp.mailfence.com with ESMTPA ; Tue, 25 Feb 2020 22:06:32 +0100 (CET) Date: Tue, 25 Feb 2020 22:06:33 +0100 (CET) From: Alan Third Message-ID: <20200225210630.GA72702@breton.holly.idiocy.org> References: <20200221225014.GA49998@breton.holly.idiocy.org> <9B906B55-067E-4F04-A9D5-F4BD351D1665@idiocy.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Flag: NO X-Spam-Status: No, hits=-2.9 required=4.7 symbols=ALL_TRUSTED, BAYES_00 device=10.2.0.20 X-ContactOffice-Account: com:241649512 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Mon, Feb 24, 2020 at 09:56:04AM -0800, John Wiegley wrote: > >>>>> "AT" == Alan Third writes: > > AT> Are you still using Nix to build Emacs? As I recall it used to use the > AT> 10.10 build environment even on more modern versions of macOS, so this > AT> could still be an incompatibility between the new drawing code and older > AT> versions of macOS/XCode. > > I am using Nix, but it passes this: > > -DMAC_OS_X_VERSION_MAX_ALLOWED=101200 > > Which should be recent enough, I'd think. > > I also need to track down the slowness that I'm seeing, to see which commit > introduced that. It will take me a few days to gather all of this information, > given how slow the test cycles are. Could you try the below patch to see if that sorts the background issue? modified src/nsterm.m @@ -8240,6 +8240,8 @@ - (void)createDrawingBuffer /* This fixes the scale to match the backing scale factor, and flips the image. */ CGContextTranslateCTM(drawingBuffer, 0, NSHeight (frame) * scale); CGContextScaleCTM(drawingBuffer, scale, -scale); + + ns_clear_frame (emacsframe); } @@ -8269,7 +8271,6 @@ - (void)windowDidChangeBackingProperties:(NSNotification *)notification { NSRect frame = [self frame]; [self createDrawingBuffer]; - ns_clear_frame (emacsframe); expose_frame (emacsframe, 0, 0, NSWidth (frame), NSHeight (frame)); } } I don’t know if I’ve just missed it (I’ve been messing with my email set‐up recently) but I’ve not seen the build log you promised. -- Alan Third From unknown Wed Sep 10 10:35:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39724: 26.3; Commit 44298ea6aa006ed227e539b02279bd3fc11fd2a6 breaks font display on macOS Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Mar 2020 17:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39724 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: John Wiegley Cc: 39724@debbugs.gnu.org Received: via spool by 39724-submit@debbugs.gnu.org id=B39724.15834289393778 (code B ref 39724); Thu, 05 Mar 2020 17:23:01 +0000 Received: (at 39724) by debbugs.gnu.org; 5 Mar 2020 17:22:19 +0000 Received: from localhost ([127.0.0.1]:43673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9uCR-0000yr-Fh for submit@debbugs.gnu.org; Thu, 05 Mar 2020 12:22:19 -0500 Received: from mailout-l3b-97.contactoffice.com ([212.3.242.97]:43798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9uCQ-0000yf-1l for 39724@debbugs.gnu.org; Thu, 05 Mar 2020 12:22:18 -0500 Received: from smtpauth2.co-bxl (smtpauth2.co-bxl [10.2.0.24]) by mailout-l3b-97.contactoffice.com (Postfix) with ESMTP id 9043A5B0; Thu, 5 Mar 2020 18:22:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1583428932; s=20200222-6h9o; d=idiocy.org; i=alan@idiocy.org; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To; l=2029; bh=fphZ3o60BSqnN2ESUy49UXkWg+kKEIjRYZG2sFUOCIo=; b=RMwaJjmctwMP2cTyRrisDrvAKvbDk2lip1XncIqG8xHw0BCkSHtZqmixVxdFUb4b q1qTAjasiY0pEZDwDfYZ0CHe3glzOpQ5L76jlQKigyHgkRcfmp663FMVBfLKitiohyT DMkhCtprz8yENmHhhik7mn/mRRZF/RhoZQ2wBPnq+HEe8bBGlhP1ov1ADJSiRhX6SGR d6fLAfnnGQxuv03+9hYVA5nVO6SKnui9SRnWzL6oJNeGCIF08MpRhY5VSAXceexfYhD oeCaijAngRxyaifITufpT1c0reAfW7KLn2Ji7Fa4v/lxKlUVu6dpsqw8gZKASdHlqNg I5J23Bq1zg== Received: by smtp.mailfence.com with ESMTPA ; Thu, 5 Mar 2020 18:22:09 +0100 (CET) Received: by idiocy.org (Postfix, from userid 501) id 37868202004E81; Thu, 5 Mar 2020 17:22:08 +0000 (GMT) Date: Thu, 5 Mar 2020 18:22:10 +0100 (CET) From: Alan Third Message-ID: <20200305172208.GC56782@breton.holly.idiocy.org> References: <20200221225014.GA49998@breton.holly.idiocy.org> <9B906B55-067E-4F04-A9D5-F4BD351D1665@idiocy.org> <20200225210630.GA72702@breton.holly.idiocy.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200225210630.GA72702@breton.holly.idiocy.org> X-Spam-Flag: NO X-Spam-Status: No, hits=-2.9 required=4.7 symbols=ALL_TRUSTED, BAYES_00 device=10.2.0.1 X-ContactOffice-Account: com:241649512 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Tue, Feb 25, 2020 at 10:06:33PM +0100, Alan Third wrote: > On Mon, Feb 24, 2020 at 09:56:04AM -0800, John Wiegley wrote: > > >>>>> "AT" == Alan Third writes: > > > > AT> Are you still using Nix to build Emacs? As I recall it used to use the > > AT> 10.10 build environment even on more modern versions of macOS, so this > > AT> could still be an incompatibility between the new drawing code and older > > AT> versions of macOS/XCode. > > > > I am using Nix, but it passes this: > > > > -DMAC_OS_X_VERSION_MAX_ALLOWED=101200 > > > > Which should be recent enough, I'd think. > > > > I also need to track down the slowness that I'm seeing, to see which commit > > introduced that. It will take me a few days to gather all of this information, > > given how slow the test cycles are. > > Could you try the below patch to see if that sorts the background issue? > > modified src/nsterm.m > @@ -8240,6 +8240,8 @@ - (void)createDrawingBuffer > /* This fixes the scale to match the backing scale factor, and flips the image. */ > CGContextTranslateCTM(drawingBuffer, 0, NSHeight (frame) * scale); > CGContextScaleCTM(drawingBuffer, scale, -scale); > + > + ns_clear_frame (emacsframe); > } > > > @@ -8269,7 +8271,6 @@ - (void)windowDidChangeBackingProperties:(NSNotification *)notification > { > NSRect frame = [self frame]; > [self createDrawingBuffer]; > - ns_clear_frame (emacsframe); > expose_frame (emacsframe, 0, 0, NSWidth (frame), NSHeight (frame)); > } > } > > > I don’t know if I’ve just missed it (I’ve been messing with my email > set‐up recently) but I’ve not seen the build log you promised. > Hi John, I don’t know if you tried the above patch, but can you please try building the master branch again? I fixed an issue last night that may be the same as your problem. I’m not sure because it all depends on the build environment and what versions of Cocoa are available and so on, and I think Nix may confuse matters. -- Alan Third From unknown Wed Sep 10 10:35:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39724: 26.3; Commit 44298ea6aa006ed227e539b02279bd3fc11fd2a6 breaks font display on macOS Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Aug 2020 08:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39724 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alan Third Cc: John Wiegley , 39724@debbugs.gnu.org Received: via spool by 39724-submit@debbugs.gnu.org id=B39724.15982582106914 (code B ref 39724); Mon, 24 Aug 2020 08:37:01 +0000 Received: (at 39724) by debbugs.gnu.org; 24 Aug 2020 08:36:50 +0000 Received: from localhost ([127.0.0.1]:55964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kA7yD-0001nS-Re for submit@debbugs.gnu.org; Mon, 24 Aug 2020 04:36:50 -0400 Received: from mail-yb1-f176.google.com ([209.85.219.176]:33813) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kA7yC-0001nG-Tn for 39724@debbugs.gnu.org; Mon, 24 Aug 2020 04:36:49 -0400 Received: by mail-yb1-f176.google.com with SMTP id u6so4732041ybf.1 for <39724@debbugs.gnu.org>; Mon, 24 Aug 2020 01:36:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc :content-transfer-encoding; bh=aCh2NNCpp8xyeobCeQDkKn2Wt+1y1qko/Tza4oYusDA=; b=E3Wy9Rg81f+/35VlfOgzj34VppOnq+/NU94I9GrJFybR8vqkuVhB1Y0QYeHHbx7CoA rjZ37LM9eHJVqIRQY1qWyCMKRzWNzL42r7iSr8srTv18a9FCL9L2c0JzLGCXIprkbOlm JR0S6PtGsWu1/AOsYxRsdMDWyt0FUytNl9AbWizCxDaLfqshwUorAnuS9GRJ6pKI5t74 BcKerSFkOV55z8fKBZ7pdgihN7gHoHAahYgCF6RYmZXZkQER+OhcL9VGemU8agl6frvc DjyzbHvXgwMUwCQ9PMJhm+Boq1rDEVmrmEe4ilKq8FbqVav8bG/ocA8yXmeimZYNAlDL dT3w== X-Gm-Message-State: AOAM532uHbCq1cPTAPFxEDFcVH1qqaAFQyLN2EGSExvC3kv9kH010z0F MfCzoqmwSY6/PZ6PJ+ZjLs0Ld3gF5D6jk4gRXhSkLkNX8qOCDQ== X-Google-Smtp-Source: ABdhPJxXbQ0YST0eEo8utSiSzZtE2z0ECPxYAE6RKwPYzco4lil2gVA+Gj/1jsvJp1pvrRkdpJD1x7sX5wqU+/rMoYY= X-Received: by 2002:a25:9843:: with SMTP id k3mr6289155ybo.466.1598258203402; Mon, 24 Aug 2020 01:36:43 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 24 Aug 2020 04:36:42 -0400 From: Stefan Kangas In-Reply-To: <20200305172208.GC56782@breton.holly.idiocy.org> (Alan Third's message of "Thu, 5 Mar 2020 18:22:10 +0100 (CET)") References: <20200221225014.GA49998@breton.holly.idiocy.org> <9B906B55-067E-4F04-A9D5-F4BD351D1665@idiocy.org> <20200225210630.GA72702@breton.holly.idiocy.org> <20200305172208.GC56782@breton.holly.idiocy.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Mon, 24 Aug 2020 04:36:42 -0400 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Alan Third writes: > On Tue, Feb 25, 2020 at 10:06:33PM +0100, Alan Third wrote: >> On Mon, Feb 24, 2020 at 09:56:04AM -0800, John Wiegley wrote: >> > >>>>> "AT" =3D=3D Alan Third writes: >> > >> > AT> Are you still using Nix to build Emacs? As I recall it used to use= the >> > AT> 10.10 build environment even on more modern versions of macOS, so = this >> > AT> could still be an incompatibility between the new drawing code and= older >> > AT> versions of macOS/XCode. >> > >> > I am using Nix, but it passes this: >> > >> > -DMAC_OS_X_VERSION_MAX_ALLOWED=3D101200 >> > >> > Which should be recent enough, I'd think. >> > >> > I also need to track down the slowness that I'm seeing, to see which c= ommit >> > introduced that. It will take me a few days to gather all of this info= rmation, >> > given how slow the test cycles are. >> >> Could you try the below patch to see if that sorts the background issue? >> >> modified src/nsterm.m >> @@ -8240,6 +8240,8 @@ - (void)createDrawingBuffer >> /* This fixes the scale to match the backing scale factor, and flips = the image. */ >> CGContextTranslateCTM(drawingBuffer, 0, NSHeight (frame) * scale); >> CGContextScaleCTM(drawingBuffer, scale, -scale); >> + >> + ns_clear_frame (emacsframe); >> } >> >> >> @@ -8269,7 +8271,6 @@ - (void)windowDidChangeBackingProperties:(NSNotifi= cation *)notification >> { >> NSRect frame =3D [self frame]; >> [self createDrawingBuffer]; >> - ns_clear_frame (emacsframe); >> expose_frame (emacsframe, 0, 0, NSWidth (frame), NSHeight (frame)= ); >> } >> } >> >> >> I don=E2=80=99t know if I=E2=80=99ve just missed it (I=E2=80=99ve been m= essing with my email >> set=E2=80=90up recently) but I=E2=80=99ve not seen the build log you pro= mised. >> > > Hi John, I don=E2=80=99t know if you tried the above patch, but can you p= lease > try building the master branch again? I fixed an issue last night that > may be the same as your problem. I=E2=80=99m not sure because it all depe= nds > on the build environment and what versions of Cocoa are available and > so on, and I think Nix may confuse matters. That was 6 months ago. Any updates here? If I don't hear back from you within a couple of weeks, I'll just assume this has been fixed and close this bug. Best regards, Stefan Kangas From unknown Wed Sep 10 10:35:49 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "John Wiegley" Subject: bug#39724: closed (Re: bug#39724: 26.3; Commit 44298ea6aa006ed227e539b02279bd3fc11fd2a6 breaks font display on macOS) Message-ID: References: X-Gnu-PR-Message: they-closed 39724 X-Gnu-PR-Package: emacs Reply-To: 39724@debbugs.gnu.org Date: Thu, 01 Oct 2020 12:40:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1601556002-16108-1" This is a multi-part message in MIME format... ------------=_1601556002-16108-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #39724: 26.3; Commit 44298ea6aa006ed227e539b02279bd3fc11fd2a6 breaks font d= isplay on macOS which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 39724@debbugs.gnu.org. --=20 39724: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D39724 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1601556002-16108-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 39724-done) by debbugs.gnu.org; 1 Oct 2020 12:39:10 +0000 Received: from localhost ([127.0.0.1]:34628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNxra-0004A9-Jp for submit@debbugs.gnu.org; Thu, 01 Oct 2020 08:39:10 -0400 Received: from mail-ej1-f49.google.com ([209.85.218.49]:39683) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNxrQ-00047i-1W for 39724-done@debbugs.gnu.org; Thu, 01 Oct 2020 08:39:00 -0400 Received: by mail-ej1-f49.google.com with SMTP id p9so7798248ejf.6 for <39724-done@debbugs.gnu.org>; Thu, 01 Oct 2020 05:38:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc :content-transfer-encoding; bh=j3qe5DpFd2q16NsTWDftsWcbClvswO9vemuB09LEbHo=; b=IkodugvZi5h8xN+d7qD8ciThtAxQtlV/loVILv10YulrXtnQoF9s2Ce8F+ID0uZgx4 +5uJMRlAbTPrzY+ZKBuwKh0nUK+qpot5dVJ18rTttrqD6UoFdcM3ZvunV8EF3WKN8hWg 45g46f1EqPfU225yKnRQYCdn3w6hMre1+ID9K6ZaSA+jqhrMc8LfvBQ0aDAwCUJXDp2E KC66LHF77IPpkS4LjVIzEr1pTgX+4LHwbQrQmtFCK4DBTChym8BPSrIzdsz1eiYzKMaR Qo3UHP55pKj+F1eocfkf5stbo6mi+P/9P2WSz4qjQxUYvw5HUzFN66oURprvhUSXdGNn T17A== X-Gm-Message-State: AOAM53165eRxDGiNVPdoLfkI6PLZGd8cKJW2oyb09F3Lka4yan9flW12 bu9Qgg1GHzxe85wth8lP0YnYiNUVPvtPMaKAX/U= X-Google-Smtp-Source: ABdhPJxj9fG/hd/C2LoSSVDTMw295HdrCAznUVLkoqfkEQfHXWZ0ZrBK9csieiEJRfFIjevanbCIMxmBNOcQhoBAj+k= X-Received: by 2002:a17:906:fb8f:: with SMTP id lr15mr7695234ejb.25.1601555934401; Thu, 01 Oct 2020 05:38:54 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 1 Oct 2020 05:38:53 -0700 From: Stefan Kangas In-Reply-To: (Stefan Kangas's message of "Mon, 24 Aug 2020 04:36:42 -0400") References: <20200221225014.GA49998@breton.holly.idiocy.org> <9B906B55-067E-4F04-A9D5-F4BD351D1665@idiocy.org> <20200225210630.GA72702@breton.holly.idiocy.org> <20200305172208.GC56782@breton.holly.idiocy.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Thu, 1 Oct 2020 05:38:53 -0700 Message-ID: Subject: Re: bug#39724: 26.3; Commit 44298ea6aa006ed227e539b02279bd3fc11fd2a6 breaks font display on macOS To: Alan Third Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 39724-done Cc: John Wiegley , 39724-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Stefan Kangas writes: >> Hi John, I don=E2=80=99t know if you tried the above patch, but can you = please >> try building the master branch again? I fixed an issue last night that >> may be the same as your problem. I=E2=80=99m not sure because it all dep= ends >> on the build environment and what versions of Cocoa are available and >> so on, and I think Nix may confuse matters. > > That was 6 months ago. Any updates here? > > If I don't hear back from you within a couple of weeks, I'll just > assume this has been fixed and close this bug. More information was requested, but none was given within 5 weeks, so I'll just assume that the above fixed the issue. I'm therefore closing this bug now. If this is still an issue, please reply to this email (use "Reply to all" in your email client) and we can reopen the bug report. Best regards, Stefan Kangas ------------=_1601556002-16108-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 Feb 2020 21:45:19 +0000 Received: from localhost ([127.0.0.1]:48279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5G6o-0006OB-Ty for submit@debbugs.gnu.org; Fri, 21 Feb 2020 16:45:19 -0500 Received: from lists.gnu.org ([209.51.188.17]:37229) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5G6n-0006O3-94 for submit@debbugs.gnu.org; Fri, 21 Feb 2020 16:45:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36323) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5G6l-0004LB-R0 for bug-gnu-emacs@gnu.org; Fri, 21 Feb 2020 16:45:17 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_40,KHOP_HELO_FCRDNS, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42242) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j5G6l-0008RK-8Y; Fri, 21 Feb 2020 16:45:15 -0500 Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:33477) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1j5G6k-0004Ae-EL; Fri, 21 Feb 2020 16:45:14 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id A61D520CBC; Fri, 21 Feb 2020 16:45:12 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 21 Feb 2020 16:45:12 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrkeeggdduhedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgfgggtsehttdertddtredtnecuhfhrohhmpedflfhohhhnucgh ihgvghhlvgihfdcuoehjohhhnhifsehgnhhurdhorhhgqeenucffohhmrghinhepnhgvfi grrhhtihhsrghnshdrtghomhenucfkphepjeeirddvfeegrdeiledrudegleenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjohhhnhifodhmvg hsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdeikeejkedtleeggedqudejjeehfeek udeiqdhjohhhnhifpeepghhnuhdrohhrghesnhgvfigrrhhtihhsrghnshdrtghomh X-ME-Proxy: Received: from localhost (76-234-69-149.lightspeed.frokca.sbcglobal.net [76.234.69.149]) by mail.messagingengine.com (Postfix) with ESMTPA id 123123060F09; Fri, 21 Feb 2020 16:45:11 -0500 (EST) From: "John Wiegley" To: bug-gnu-emacs@gnu.org Subject: 26.3; Commit 44298ea6aa006ed227e539b02279bd3fc11fd2a6 breaks font display on macOS Date: Fri, 21 Feb 2020 13:45:08 -0800 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (darwin) Mail-Followup-To: bug-gnu-emacs@gnu.org, Alan Third , Eli Zaretskii MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: submit Cc: Alan Third , Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) I noticed recently that no text was displaying in my Emacs 27 windows. As if everything were black and black, except that changing the font and background colors did not help. It took two days of rebuilding, but I've isolated this as the breaking commit: commit 44298ea6aa006ed227e539b02279bd3fc11fd2a6 Author: Alan Third Date: Sat Feb 1 21:17:29 2020 +0000 Use CGImage instead of NSBitmapImageRep (bug#32932) * src/nsterm.m (ns_update_end): (ns_clear_frame): Remove forced draws. (ns_draw_fringe_bitmap): (ns_dumpglyphs_image): No longer need to invert images as the context is already flipped. ([EmacsView updateFrameSize:]): ([EmacsView initFrameFromEmacs:]): Use new function. ([EmacsView createDrawingBuffer]): Replaces createDrawingBufferWithRect:. ([EmacsView focusOnDrawingBuffer]): Set CGImage context. ([EmacsView windowDidChangeBackingProperties:]): Use new function. ([EmacsView copyRect:to:]): Copy using CGImages. ([EmacsView wantsUpdateLayer]): ([EmacsView updateLayer]): New Functions. ([EmacsView drawRect:]): We no longer do anything special here for Cocoa. ([EmacsView windowDidChangeBackingProperties:]): Fix indentation and add NSTRACE. Anything prior to this works as expected. From this commit forward, all windows are black on black. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2 ------------=_1601556002-16108-1--