From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#59306: 29.0.50; Resurrected bug? Date: Sun, 20 Nov 2022 18:47:32 +0200 Message-ID: <3d6e6d77-c5cd-35b9-5f3b-4ec9d6d7db92@yandex.ru> References: <87wn7ra3bm.fsf@yahoo.com> <41389326-4D96-4CC6-8064-4EB99AFCEEE5@gmail.com> <87o7t39s6t.fsf@yahoo.com> <9f62125d-376c-3b00-0930-e8009a176e3d@yandex.ru> <87tu2u8nsy.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32344"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Cc: 59306@debbugs.gnu.org, Pedro Andres Aranda Gutierrez To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 20 17:48:17 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 1ownUP-0008Ck-1a for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Nov 2022 17:48:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ownUC-00015u-Ko; Sun, 20 Nov 2022 11:48: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 1ownUA-00015b-ML for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2022 11:48: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 1ownUA-0000F7-Dn for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2022 11:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ownU9-0001U3-QL for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2022 11:48:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Nov 2022 16:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59306 X-GNU-PR-Package: emacs Original-Received: via spool by 59306-submit@debbugs.gnu.org id=B59306.16689628635583 (code B ref 59306); Sun, 20 Nov 2022 16:48:01 +0000 Original-Received: (at 59306) by debbugs.gnu.org; 20 Nov 2022 16:47:43 +0000 Original-Received: from localhost ([127.0.0.1]:44387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ownTr-0001Ry-1X for submit@debbugs.gnu.org; Sun, 20 Nov 2022 11:47:43 -0500 Original-Received: from mail-wm1-f47.google.com ([209.85.128.47]:35339) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ownTo-0001RX-Q8 for 59306@debbugs.gnu.org; Sun, 20 Nov 2022 11:47:41 -0500 Original-Received: by mail-wm1-f47.google.com with SMTP id 84-20020a1c0257000000b003cfe48519a6so4929373wmc.0 for <59306@debbugs.gnu.org>; Sun, 20 Nov 2022 08:47:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=/TLWFg6HuQJTM0RoiqO8eYX/ixJ2ekc45NOS0BTaPzs=; b=IJw+/OOAoJz09FIk8MZh/Ao+1qwM2a+phKQX5Ek2Jvywi0efrvZyhEi7s/JTom8oeB 7NWByRCmhs6H/ZdDmVg/FyqSEwwY6gYx39jMeXhrKNCu1gexbTdoUwPz/EYp/BoHDcj5 6fjjQL0HEwK/wUqt5rZE+XRr+s34D1Dk83Oc1ahFA+DKQk4nlIAvah/CC2nQU/UZKMQ0 yMG2PSssFMDLxUC/38hT6Vt1gpSbJ6u2/7mXVkNZZEksYVQp9l3/Sn7D+a/patgL1jPt wpcFWU0Ilj5jbtkNodx+nhYZAC+qU4mhMW+bGsj0OlMUfCsZuuHMwNizl1OCGc1Fc2Li NvEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/TLWFg6HuQJTM0RoiqO8eYX/ixJ2ekc45NOS0BTaPzs=; b=7H1/0rLrah7kADDY/a1+fMUQwX8AkeT3/F39b/ERK61zr5wrE2BwFHrBNXDcEVgeaa Pgeco0lhRZFzuKm+u7F17pe3jDoFGCsCdanYcQ/BCdsA479hGFgP+7FI39uvtvsSlvyH 9PzduUrraGf9DK/2cXohwNmPtm/WL+o04K+b/yk5Il3esI74/fmD0qRcstODatoOVPfo cTxnsGy6dIcd9FlpC43A3VEk3ZKHFB2Msy0NNuGYaHxCYP9iBiBOE34Nih7dTFICGUuZ YqFvIPzPJ2O6p8ljO4RCKe7Yji4IgvRijoeD1QVstDiI0Tj94Z/2snYOALKymZh4dZdi 3OAw== X-Gm-Message-State: ANoB5pkBuhlqitI0yqHhtLvsn8Nqmc2Xz31qvM7TTIyufFRK18oPTy0c 7EpKF03bxpmUd4VFzStZhmw= X-Google-Smtp-Source: AA0mqf4qDhcWmzYB2vI+HMdRpzmtRMS2zkT5dHxu4yDLhEKw6GNsJxA1hDgJKdypjysJgxAlOmKc+Q== X-Received: by 2002:a1c:f006:0:b0:3cf:7b68:631 with SMTP id a6-20020a1cf006000000b003cf7b680631mr14130341wmb.55.1668962854581; Sun, 20 Nov 2022 08:47:34 -0800 (PST) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id o19-20020a1c7513000000b003b4a699ce8esm15148919wmc.6.2022.11.20.08.47.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Nov 2022 08:47:34 -0800 (PST) Content-Language: en-US In-Reply-To: <87tu2u8nsy.fsf@yahoo.com> 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:248434 Archived-At: On 20.11.2022 02:36, Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: > Dmitry Gutov writes: > >> No change since the last test I tried: fonts seem fine, but the frame >> size is jumping. I even did 'make bootstrap' to be doubly sure. > Thanks. Could you place a breakpoint on `apply_xft_settings' before > starting "emacs -Q", step through it, and try to find out what causes > the `changed' variable to be set to true? Apparently it's this part: #ifdef FC_HINT_STYLE if ((settings->seen & SEEN_HINTSTYLE) != 0 && oldsettings.hintstyle != settings->hintstyle) { FcPatternDel (pat, FC_HINT_STYLE); FcPatternAddInteger (pat, FC_HINT_STYLE, settings->hintstyle); changed = true; oldsettings.hintstyle = settings->hintstyle; } #endif Here's the relevant part of the gdb log, since I don't have much experience with it. The assignment statement itself seems to be missing from the stepping, but 'changed' became true after: (gdb) n 842 FcPatternGetDouble (pat, FC_DPI, 0, &oldsettings.dpi); (gdb) p changed $2 = false (gdb) n 844 if ((settings->seen & SEEN_AA) != 0 && oldsettings.aa != settings->aa) (gdb) n 852 if ((settings->seen & SEEN_HINTING) != 0 (gdb) n 860 if ((settings->seen & SEEN_RGBA) != 0 && oldsettings.rgba != settings->rgba) (gdb) n 869 if ((settings->seen & SEEN_LCDFILTER) != 0 (gdb) n 879 if ((settings->seen & SEEN_HINTSTYLE) != 0 (gdb) n 882 FcPatternDel (pat, FC_HINT_STYLE); (gdb) n 883 FcPatternAddInteger (pat, FC_HINT_STYLE, settings->hintstyle); (gdb) n 885 oldsettings.hintstyle = settings->hintstyle; (gdb) n 894 oldsettings.dpi = dpyinfo->resx; (gdb) p changed $3 = true