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 16:03:09 +0300

> Date: Tue, 13 Sep 2022 12:40:38 +0000
> From: uzibalqa <uzibalqa@proton.me>
> Cc: help-gnu-emacs@gnu.org
> 
> > > 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).
> 
> It is even more difficult for user to identify a font name.  

No, it isn't.  Evaluate this in a running Emacs session:

  (face-font 'default)

> set-face-attribute is great because one just specifies its properties
> without worrying about the actual font
> 
> (set-face-attribute 'default nil :height 160 :weight 'bold)

But you said that it doesn't do the job in this case, and asked for
alternatives, right?



reply via email to

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