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: Thu, 16 Feb 2023 11:00:34 +0800
Dmitry Gutov <dgutov <at> yandex.ru> writes:

> Here you go:
>
> (gdb) frame 23
> #23 0x00005555556d097f in xg_frame_set_char_size
>  (f=f <at> entry=0x55555630eb60, width=width <at> entry=1728,
>  height=height <at> 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?




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.