GNU bug report logs - #60585
30.0.50; global-text-scale-adjust shrinks window (was not before)

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Thu, 5 Jan 2023 22:30:02 UTC

Severity: normal

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Po Lu <luangruo <at> yahoo.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: martin rudalics <rudalics <at> gmx.at>, Eli Zaretskii <eliz <at> gnu.org>, rpluim <at> gmail.com, 60585 <at> debbugs.gnu.org
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: Mon, 13 Feb 2023 10:56:50 +0800
Dmitry Gutov <dgutov <at> yandex.ru> writes:

> On 12/02/2023 05:26, Po Lu wrote:
>> Right, thank you.  If you go up to frame 23, and then:
>>    (gdb) p f->size_hints
>>    (gdb) p f->hint_flags
>> What is displayed?
>> Also, what is:
>>    (gdb) p xg_get_scale (f)
>
> (gdb) p f->size_hints
> There is no member named size_hints.
> (gdb) p f->hint_flags
> There is no member named hint_flags.
> (gdb) p f
> $5 = (struct frame *) 0x5555562c3060
> (gdb) xpr
> Lisp_Symbol
> $6 = (struct Lisp_Symbol *) 0xaaaaac05fc40
> Cannot access memory at address 0xaaaaac05fc48
>
> (gdb) p f->output_data.x->size_hints
> $8 = {
>   min_width = 34,
>   min_height = 106,
>   max_width = 0,
>   max_height = 0,
>   base_width = 34,
>   base_height = 106,
>   width_inc = 10,
>   height_inc = 22,
>   min_aspect = 0,
>   max_aspect = 0,
>   win_gravity = GDK_GRAVITY_NORTH_WEST
> }
> (gdb) p f->output_data.x->hint_flags
> $9 = 106
> (gdb) xpr
> Lisp_Int0
> $10 = 26

Thanks.

What is f->column_width and f->line_height?  If you go up to x_new_font,
what is font->average_width, font_ascent and font_descent?




This bug report was last modified 2 years and 205 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.