[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55394: 29.0.50; pgtk: Text scaling of host OS is exaggerated in Emac
From: |
Torsten Bronger |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
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