bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face


From: Robert Pluim
Subject: bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong
Date: Thu, 12 Jan 2023 10:46:20 +0100

>>>>> On Thu, 12 Jan 2023 10:31:35 +0100, martin rudalics <rudalics@gmx.at> 
>>>>> said:

    >> So... the window manager works with "unscaled" pixels it has to multiply 
by 2? That's why we try to send half the actual value?
    martin> We send half the actual value because Robert (IIRC) has coded it 
that
    martin> way.  I never scale here and so I can't tell whether that's the 
right
    martin> approach.  Have a look at Bug#20432 where Jan says something about 
GTK
    martin> messing things up.

Itʼs done that way because thatʼs the way it works, not because of any
decision on my part. When scaling is in use, a screen that has eg
1920x1080 "physical pixels" is presented to us as being 960x540
"virtual pixels". Since Emacs uses physical pixels internally, we need
to divide all the numbers by 2.

Robert
-- 





reply via email to

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