From: Torsten Bronger <bronger@physik.rwth-aachen.de>
To: 55394@debbugs.gnu.org
Subject: bug#55394: 29.0.50; pgtk: Text scaling of host OS is exaggerated in Emacs
Date: Fri, 13 May 2022 11:13:52 +0200 [thread overview]
Message-ID: <87k0apyeun.fsf@physik.rwth-aachen.de> (raw)
In-Reply-To: <874k1thnvt.fsf@physik.rwth-aachen.de>
Hallöchen!
Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes:
> Torsten Bronger <bronger@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 ();
Indeed, then I get the correct scaling. (In other words, the same
as in the Gnome terminal window.)
Regards,
Torsten.
--
Torsten Bronger
next prev parent reply other threads:[~2022-05-13 9:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-13 7:50 bug#55394: 29.0.50; pgtk: Text scaling of host OS is exaggerated in Emacs Torsten Bronger
2022-05-13 8:26 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-13 9:13 ` Torsten Bronger [this message]
2022-05-13 11:35 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k0apyeun.fsf@physik.rwth-aachen.de \
--to=bronger@physik.rwth-aachen.de \
--cc=55394@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.