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: Dmitry Gutov
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
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

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





reply via email to

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