Subject: Re: 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

From: Po Lu <[email-masked]>
Date: Mon, 13 Feb 2023 10:56:50 +0800

Dmitry Gutov <[email-masked]> 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?