bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60585: 30.0.50; global-text-scale-adjust shrinks window (was not bef


From: Po Lu
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 10:43:04 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Dmitry Gutov <dgutov@yandex.ru> writes:

> On 16/02/2023 05:00, Po Lu wrote:
>> Dmitry Gutov<dgutov@yandex.ru>  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

Ah, please type:

  (gdb) *$7

after this, thanks.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]