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#59122: 29.0.50; global-text-scale-adjust not working Date: Wed, 09 Nov 2022 18:53:19 +0200 Message-ID: <83k044t6gw.fsf@gnu.org> References: <0405c6f70ee5bc26c9fd@heytings.org> <5e251f240fbcc9fa98f5@heytings.org> <5e251f240f3b8e048ce5@heytings.org> <5e251f240fd43ee3ce7a@heytings.org> <83pmdwtc41.fsf@gnu.org> <5e251f240fe4d3294106@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28447"; mail-complaints-to="usenet@ciao.gmane.io" Cc: salutis@me.com, 59122@debbugs.gnu.org, stefankangas@gmail.com To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 09 17:54:25 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 1osoLJ-0007GF-5W for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Nov 2022 17:54:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1osoKy-0004Nx-PX; Wed, 09 Nov 2022 11:54:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1osoKw-0004NL-OZ for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 11:54:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1osoKw-0006mW-EI for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 11:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1osoKw-0002Fe-5w for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 11:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Nov 2022 16:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59122 X-GNU-PR-Package: emacs Original-Received: via spool by 59122-submit@debbugs.gnu.org id=B59122.16680128188624 (code B ref 59122); Wed, 09 Nov 2022 16:54:02 +0000 Original-Received: (at 59122) by debbugs.gnu.org; 9 Nov 2022 16:53:38 +0000 Original-Received: from localhost ([127.0.0.1]:40712 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osoKO-0002Eo-EB for submit@debbugs.gnu.org; Wed, 09 Nov 2022 11:53:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osoKM-0002Eb-TO for 59122@debbugs.gnu.org; Wed, 09 Nov 2022 11:53:27 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1osoKH-0005m4-H0; Wed, 09 Nov 2022 11:53:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=WdFD853IEAFSYa7VNZR/kAIMlz6ZTkBreien8MedQ30=; b=piylEAFjn979 3PRDn/tN5gbTf8YxQGkr25WBX9Jng/uXBLNhvfOJTIXoebl4TuFNVHxCxyWbOEnF5gdIzx10l7url r9Wd03aFAvZJax79vuhYKeOWBzMM9hMZuQ6S9Lq3zWr+XH1/jZK8yDlPAQVyi6vr7Ivl/SOJWER0g SbuXHu+KTYYOkMYHe9oqdE+F596Bcj+V0RPZInbhPA6E1z7I8+xTyxQOvW5EqI6fmw+vlblN6p4GU 2NgqvVxqLqBVzVfB8BlSBs9TLHsksMTJG0GQq/QdppSwx/wkvgGxzNwxgkk4B1yLefxWMHM7JO652 GcRHQLhSPoMVIEIXaj7Q3Q==; Original-Received: from [87.69.77.57] (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 1osoKH-0003UE-04; Wed, 09 Nov 2022 11:53:21 -0500 In-Reply-To: <5e251f240fe4d3294106@heytings.org> (message from Gregory Heytings on Wed, 09 Nov 2022 16:01:04 +0000) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247442 Archived-At: > Date: Wed, 09 Nov 2022 16:01:04 +0000 > From: Gregory Heytings > cc: 59122@debbugs.gnu.org, salutis@me.com, stefankangas@gmail.com > > It's because of rounding. Face heights on macOS are multiples of 10 (100 > for 10.0 pt, 110 for 11.0 pt, ...). Setting the face height to 105 > actually sets it to 110. > > So I think what we should do here is to check, after set-face-attribute, > whether the face height has actually changed, and if not try again with a > bigger increment. Yes, SGTM.