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

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

Re: Frame shifted upwards upon changing font size


From: Eli Zaretskii
Subject: Re: Frame shifted upwards upon changing font size
Date: Tue, 13 Sep 2022 15:29:31 +0300

> Date: Tue, 13 Sep 2022 12:10:22 +0000
> From: uzibalqa <uzibalqa@proton.me>
> Cc: help-gnu-emacs@gnu.org
> 
> > I'd try changing default-frame-alist instead of using
> > set-face-attribute. Maybe it will work better.
> > 
> > If that doesn't work, change the order between face customizations and
> > setting up the frame coordinates (assuming you do the latter from the
> > init file).
> > 
> > In general, what you want is somewhat tricky: Emacs cannot call GUI
> > functions until it has at least one GUI frame, so at best you might
> > see the frame momentarily displayed at the wrong place/with wrong font
> > size before it settles.
> 
> default-frame-alist is a confusing as it already has (width . 75) and 
> (height . 21) for the frame.  What is the corresponding entry for
> the font height?

It's 'font' (and use the fully-qualified XLFD name as the value).



reply via email to

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