emacs-devel
[Top][All Lists]
Advanced

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

Re: set-frame-size should respect line-spacing!?


From: Eli Zaretskii
Subject: Re: set-frame-size should respect line-spacing!?
Date: Sat, 12 Oct 2019 10:48:33 +0300

> From: Ingo Lohmar <address@hidden>
> Cc: address@hidden
> Date: Sat, 12 Oct 2019 09:12:17 +0200
> 
> Are you saying `set-frame-size' is supposed to ignore line-spacing?

Yes.  This part of the doc string hints on that, perhaps too
indirectly:

  When ‘frame-resize-pixelwise’ is nil, some window managers may refuse to
  honor a WIDTH that is not an integer multiple of the default frame font
  width or a HEIGHT that is not an integer multiple of the default frame
  font height.

> In that case, what is the correct way to set the frame-size in the
> pixel-exact way?

Use the optional argument PIXELWISE, and calculate the frame size in
pixels yourself.



reply via email to

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