GNU bug report logs - #55394
29.0.50; pgtk: Text scaling of host OS is exaggerated in Emacs

Previous Next

Package: emacs;

Reported by: Torsten Bronger <bronger <at> physik.rwth-aachen.de>

Date: Fri, 13 May 2022 07:52:01 UTC

Severity: normal

Found in version 29.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 55394 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Torsten Bronger <bronger <at> physik.rwth-aachen.de>
Cc: 55394 <at> debbugs.gnu.org
Subject: Re: bug#55394: 29.0.50; pgtk: Text scaling of host OS is
 exaggerated in Emacs
Date: Fri, 13 May 2022 16:26:29 +0800
Torsten Bronger <bronger <at> physik.rwth-aachen.de> writes:

> Using Emacs on Ubuntu 22.04 with Wayland and pgtk, if I set a text
> scaling factor using
>
>     dconf write /org/gnome/desktop/interface/text-scaling-factor 2.0
>
> the value (2.0 in this case) is exaggerated in Emacs.  In other words,
> an increase in font size increases the size in the shell (Gnome
> Terminal) less strongly than in Emacs.  When compiling without pgtk, the
> font sizes always match.

What happens if you delete this line in pgtkterm.c?

    dpi *= pgtk_text_scaling_factor ();




This bug report was last modified 3 years and 8 days ago.

Previous Next


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