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.devel Subject: Re: Tick Reduction Date: Fri, 19 Nov 2021 15:18:31 +0200 Message-ID: <83h7c8uvvc.fsf@gnu.org> References: <87bl2hyzca.fsf@gnus.org> <8735nszpdv.fsf@gnus.org> <87sfvswrp8.fsf@gnus.org> <87zgq0tu7z.fsf@gnus.org> <83wnl4v8dh.fsf@gnu.org> <83r1bcuxld.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40650"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, dgutov@yandex.ru, emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 19 14:21:50 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mo3pt-000AJJ-Ll for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Nov 2021 14:21:49 +0100 Original-Received: from localhost ([::1]:42942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mo3pr-0001lR-KF for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Nov 2021 08:21:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mo3mi-0007Oa-IP for emacs-devel@gnu.org; Fri, 19 Nov 2021 08:18:32 -0500 Original-Received: from [2001:470:142:3::e] (port=56750 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mo3mi-0000gZ-72; Fri, 19 Nov 2021 08:18:32 -0500 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=xkXIpOwe4tz/6OSMelcTxqVH/SfcyzLHZfaGGghkmaM=; b=oV1F6oJS09dC TlH+0ufVke5W3mmLEJ+40TGvrj1wLz312mgbhciTWINTLgrW2UcBFoXq7AwmN2bRBiJ6aniD4wpK6 JoUQLMHf7zH62iVJz4ZA1A1l35J0Jh79he39XISJhmif3ypp2FJllpaoDhsa/ZjuXAl+JbX24eDw7 Bll8NG4f6cemPK7pMhyMUdKK6zRunXWftlF7VdqC/oKSq2K8y3v9s2/ffbxly3GZBBiQl/+5bTTC2 wm3tEizEhW7AmRalBfQyU/8K1GT2gswui4nwg9CF5txdZPq3cbE0VKRK61Yl74zDY+SoicjlsYU5e kuk/bca6+w9i2tBrpnsLlQ==; Original-Received: from [87.69.77.57] (port=4019 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 1mo3mh-0002Nx-Hr; Fri, 19 Nov 2021 08:18:32 -0500 In-Reply-To: (message from Stefan Kangas on Fri, 19 Nov 2021 14:04:09 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:279753 Archived-At: > From: Stefan Kangas > Date: Fri, 19 Nov 2021 14:04:09 +0100 > Cc: larsi@gnus.org, emacs-devel@gnu.org, dgutov@yandex.ru > > Eli Zaretskii writes: > > > Of course they are from different families, otherwise how can one be > > fixed-pitch and the other variable-pitch. It is rare for the same > > family to provide both. > > On GNU/Linux, or at least on my machine, they are the same family in > "emacs -Q" (Bitstream Vera Sans / Bitstream Vera Sans Mono). Is that the default that corresponds to standard-fontset-spec in fontset.el, or did you tweak your system or Emacs to use that family? > > Both have the height of 13, according to "C-u C-x =". And in a > > debugger I see that both faces have the height attribute of 98 (in > > units of 1/10 point). So it sounds like Emacs thinks these have the > > same height, and still the line height changes by about 1 pixel > > depending on whether I do or don't use the variable-pitch face on that > > line. Maybe I'm missing something. > > Oh, I was so focussed on the x-height that I missed that you were discussing a > difference in the line height. > > Do you observe this using the `C-h C-h' example? If yes, could the > explanation be some difference in how the :box attribute we set in > `help-key-binding' works on MS-Windows vs. on GNU/Linux? Just a guess. I don't think I follow: there's no variable-pitch face, or any face that inherits from it, in the "C-h C-h" display, AFAICT. What am I missing?