emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Fix" sag scaling for hidpi


From: Lars Ingebrigtsen
Subject: Re: "Fix" sag scaling for hidpi
Date: Sat, 13 Feb 2021 22:57:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Alan Third <alan@idiocy.org> writes:

>> > Strange. When I do that with GDK_SCALE=2 I get both images as 333
>> > pixels wide. The only thing that appears to have been scaled are the
>> > menus and toolbar, everything else is the exact same size as if I use
>> > GDK_SCALE=1.
>> 
>> What's your `(image-compute-scaling-factor image-scaling-factor)'?
>
> 1

The scaling factor is heuristically determined by how big the default
face is.  So I'm guessing that your Emacs is returning the size in
"logical pixels", which means that the heuristics don't trigger?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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