From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Frame shifted upwards upon changing font size Date: Tue, 13 Sep 2022 16:03:09 +0300 Message-ID: <83mtb34eb6.fsf@gnu.org> References: <831qsf5x8j.fsf@gnu.org> <83o7vj4fv8.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6331"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 13 15:04:54 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oY5av-0001Of-Kh for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 13 Sep 2022 15:04:53 +0200 Original-Received: from localhost ([::1]:39534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oY5au-0007I3-Kf for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 13 Sep 2022 09:04:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oY5Zg-0007Gu-59 for help-gnu-emacs@gnu.org; Tue, 13 Sep 2022 09:03:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53792) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oY5Zd-0000ZT-P9 for help-gnu-emacs@gnu.org; Tue, 13 Sep 2022 09:03:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=qBlNhbT0U+eeTg9AryRP9LwuHuz0XudJMpnv2d9lgV0=; b=CZaQUz9CVCxe OaaL/CYSUOJJY3jp6/5oxQXIw6cO1qeRfjGuTNlvDbgOK4nqAdnAleHq6B0kVay8pVvWR4nkJkDxp KbZsrll4t9mR3FT9ZVfXz0EGj+5LiUX2MwFqtAh9HD2PCHIYlJ5QnX7194yTXAHPqXQUda4eAEPsS W16vdpqaA4BXgylbxyk+RCIm7r/POf7j0sV1I/MzVT9DMhPvPorSJf392G//pqnJtkHD/n/lrgNO8 54XxvQj2ssA8uQyoE5vq62irW5XguOFJ2tT2Fzc27ikgC79vnGOH9aIkUWSoGuSN8fRt/+HpGE93P vzPXIwzbFb18CPYITbPWkQ==; Original-Received: from [87.69.77.57] (port=2031 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oY5ZW-0004L6-6a for help-gnu-emacs@gnu.org; Tue, 13 Sep 2022 09:03:33 -0400 In-Reply-To: (message from uzibalqa on Tue, 13 Sep 2022 12:40:38 +0000) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139443 Archived-At: > Date: Tue, 13 Sep 2022 12:40:38 +0000 > From: uzibalqa > 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?