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#60585: 30.0.50; global-text-scale-adjust shrinks window (was not before), was: Re: bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong Date: Fri, 17 Feb 2023 00:18:47 +0200 Message-ID: References: <80e7f515-e16f-5ce8-86a3-e5f47cd2d2f5@yandex.ru> <3ba27f8c-779a-6f29-45a1-2b7e5a4dcb14@gmx.at> <0144e9a3-57ab-6549-d382-744b141066ec@yandex.ru> <90b5e151-39d1-0248-7be5-8084d8883e5f@gmx.at> <309dcf34-b553-58c2-34a5-270028b05347@yandex.ru> <8913f7e5-5509-3a8e-7413-991b404c3e4e@gmx.at> <4826afb4-e4a7-3845-4cc4-c696123b5e8d@yandex.ru> <875yc92dau.fsf@yahoo.com> <246c3cb4-c50b-608d-7315-add148ba5548@yandex.ru> <87ilg81oyb.fsf@yahoo.com> <006c8e10-72ce-ef51-e005-c604fd7ebd8f@yandex.ru> <87a61j1wtc.fsf@yahoo.com> <875yc71s3q.fsf@yahoo.com> <967de259-909d-20e3-3a49-8133bd42c073@yandex.ru> <87a61ixogd.fsf@yahoo.com> <7f779f32-92eb-b6be-68e0-0030ad0d045b@yandex.ru> <87wn4iqppp.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="8734"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Cc: martin rudalics , Eli Zaretskii , rpluim@gmail.com, 60585@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 16 23:19:20 2023 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 1pSmb2-00024I-9a for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Feb 2023 23:19:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSmal-0005U8-LM; Thu, 16 Feb 2023 17:19:03 -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 1pSmak-0005U0-La for bug-gnu-emacs@gnu.org; Thu, 16 Feb 2023 17:19: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 1pSmak-000353-DR for bug-gnu-emacs@gnu.org; Thu, 16 Feb 2023 17:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSmak-0001gy-6x for bug-gnu-emacs@gnu.org; Thu, 16 Feb 2023 17:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Feb 2023 22:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60585 X-GNU-PR-Package: emacs Original-Received: via spool by 60585-submit@debbugs.gnu.org id=B60585.16765859386494 (code B ref 60585); Thu, 16 Feb 2023 22:19:02 +0000 Original-Received: (at 60585) by debbugs.gnu.org; 16 Feb 2023 22:18:58 +0000 Original-Received: from localhost ([127.0.0.1]:37855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSmag-0001gf-Ed for submit@debbugs.gnu.org; Thu, 16 Feb 2023 17:18:58 -0500 Original-Received: from mail-wr1-f41.google.com ([209.85.221.41]:38643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSmae-0001gS-Om for 60585@debbugs.gnu.org; Thu, 16 Feb 2023 17:18:57 -0500 Original-Received: by mail-wr1-f41.google.com with SMTP id r25so193548wrr.5 for <60585@debbugs.gnu.org>; Thu, 16 Feb 2023 14:18:56 -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=Kn+BDYlakX4EIeEVvZzu49lrhj7gSkg6g61WP1GvE9U=; b=q24LOlwmHNIS8M3Ra/U/zwEfzkKxSW8pTEOWbCUR53OiykzF8Sja2j+7Y8qRjBQvoL 21gLy1SQ7rCRaa5YY5Qvu2D2/py6Plie0z65HVkwAdesiDXYx3etVA7GI09YAuHY/80A 250c/KKJQ+CGjrumMHprXD1yLpgj65TlD6ZV+BxIcHAPHuPhfbDf4S6JOQU+LCFvOjfC S5h/XKqubEdEvEISe9W1smjVUeF7aF449WMKkdT+D46/lm1LxbtQRwDWEReTHLZqZp2F DeR2BYTXWRIDQ2s7HSJo3Z6wFW1wNtgqN3uNwfD1FifyPr4pXbT9SL6VUjQpGMI1lj52 eA+g== 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=Kn+BDYlakX4EIeEVvZzu49lrhj7gSkg6g61WP1GvE9U=; b=FBd+QUuRCwoBQZ3Ax/MkPcKv/itgrASmLV7sBxNIniCcoGFljPDv0S02B+/GydS4KU HmzRDy6K3X73PNIVhEb5+ztmmXgTgVTRz9M6kLO9i8fQ2deAHobIRq9t52ZWpPdmdDJG tanOQBsTsz8Su7HqtPSjC5hyM2rTjpS3Iu2RZFOx1Y4pQliyZxvE9Gr/QRAxqPqb6veC xfAzE77kISmzIEES3CdoU0tBDYMwEXas1RuuwqqmO51LdcXdbD+8/NxaIeEsU+N/65Fn VMiZ5r6x809CXRv0Oyb1HEOj+PRRsF4nzZ//wqc2kPI8xekiL66mgX4+9+LdiRu0j2q1 nZeQ== X-Gm-Message-State: AO0yUKWUaatysgcyYz7RRq46fM969hEv8zU8G5DGjZzhUm0HHE5J2wBa W2pBXdyEy44cLYhG0b09W8A= X-Google-Smtp-Source: AK7set9HMFGPqVxYAHrvbC75hwTzE9tCqJFcVxTvsU9w1GM7SIson8Wh/WWdcwtwL+gyRqC2XIZoNQ== X-Received: by 2002:adf:e8c7:0:b0:2c5:4a89:f60b with SMTP id k7-20020adfe8c7000000b002c54a89f60bmr6112378wrn.38.1676585930800; Thu, 16 Feb 2023 14:18:50 -0800 (PST) Original-Received: from [192.168.0.2] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id a4-20020a056000100400b002c557f82e27sm2537865wrx.99.2023.02.16.14.18.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Feb 2023 14:18:49 -0800 (PST) Content-Language: en-US In-Reply-To: <87wn4iqppp.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:255841 Archived-At: On 16/02/2023 05:00, Po Lu wrote: > Dmitry Gutov writes: > >> Here you go: >> >> (gdb) frame 23 >> #23 0x00005555556d097f in xg_frame_set_char_size >> (f=f@entry=0x55555630eb60, width=width@entry=1728, >> height=height@entry=1620) at gtkutil.c:1425 >> 1425 x_wait_for_event (f, ConfigureNotify); >> (gdb) print f->column_width >> $2 = 21 >> (gdb) print f->line_height >> $3 = 45 >> (gdb) frame 26 >> #26 0x000055555568f0e6 in x_new_font (f=0x55555630eb60, >> font_object=XIL(0x5555560e3465), fontset=27) at xterm.c:26576 >> 26576 adjust_frame_size >> (gdb) print font->average_width >> $4 = 21 >> (gdb) print font_ascent >> $5 = 37 >> (gdb) print font_descent >> $6 = 8 > These ascent and descent measurements are not correct for your font, > right? What does: > > (gdb) p font_object > (gdb) xfont > > say? The output doesn't seem very useful: (gdb) p font_object $6 = XIL(0x55555692631d) (gdb) xfont $7 = (struct font *) 0x555556926318