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: Sat, 20 Nov 2021 12:11:43 +0200 Message-ID: <83zgpzrva8.fsf@gnu.org> References: <87bl2hyzca.fsf@gnus.org> <8735nszpdv.fsf@gnus.org> <87sfvswrp8.fsf@gnus.org> <87zgq0tu7z.fsf@gnus.org> <87r1bbrzd5.fsf@gnus.org> <83bl2ftd0d.fsf@gnu.org> <875ysnrxdd.fsf@gnus.org> <835ysntark.fsf@gnu.org> <8735nrqheu.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37531"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dgutov@yandex.ru, stefankangas@gmail.com, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 20 11:13:07 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 1moNMp-0009Xg-8a for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Nov 2021 11:13:07 +0100 Original-Received: from localhost ([::1]:51348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1moNMn-0001v9-OP for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Nov 2021 05:13:05 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moNLS-00013a-P2 for emacs-devel@gnu.org; Sat, 20 Nov 2021 05:11:42 -0500 Original-Received: from [2001:470:142:3::e] (port=40216 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 1moNLS-0006YA-El; Sat, 20 Nov 2021 05:11:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=gikseJ0sUWW9LbhWHTRx4VYoX9mTc/lDD6QBtcMPVlM=; b=iWutzrDUT9HONzhNRXlG v1xdWX4isZgxs1O2xX3B9v0wcNPDAlD21t6zZABVCNParxLAP20qWE0IJH9a7L450p7m4C1u28Cmq vWPf+/mdvAcN56lbMeq7bjjfXzLxZpBaazdgjiruFmPhsz1JyR3BMwnEEiuiT7H5AhnpJnN8TaMNE 06LDF2IOBF9X1GoyBzUq1qRY6mVEJeXmf4pJcOOOVvv0vnPHWMTz7Wrqj4jlxNcA5Ss3Wyn4lRetw pkYnrVyMbB9CTS+O3wz7/Aldkv/VVJv/2G7nY1LMfK+8ynDiqtx6V0fvX272DV8Dr4qwR1dxIy9PR k5fbfLNQekbrIg==; Original-Received: from [87.69.77.57] (port=1209 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 1moNLS-0007KG-1e; Sat, 20 Nov 2021 05:11:42 -0500 In-Reply-To: <8735nrqheu.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 20 Nov 2021 10:56:41 +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:279801 Archived-At: > From: Lars Ingebrigtsen > Cc: stefankangas@gmail.com, emacs-devel@gnu.org, dgutov@yandex.ru > Date: Sat, 20 Nov 2021 10:56:41 +0100 > > Eli Zaretskii writes: > > >> The x-height is literally the height of the lower-case x character. 😀 > >> But it's used as a shorthand to say something about the characteristics > >> of a font -- the x-height is what matters most for legibility, and the > >> ascenders (in characters like "b") and descenders (in characters like > >> "g") are separate things. > > > > We can easily get the info from the font. But how do you propose to > > use that info? > > I'm not quite sure. But picking a variable-pitch font that has the same > x-height as the monospace font we've picked might be nice. Of course, > that has its drawbacks -- we don't want the total height to be taller, > either. > > But perhaps it can go into the mix when searching for an appropriate > font -- if we have several candidates with the correct total height, > preferring the one(s) with the same x-height would be nice, I think? You want to know this when selecting fonts? That'd be expensive, since it requires to open a font,l an expensive operation. Currently we avoid opening fonts we consider as candidates, and only open the one we select. And of course, no one guarantees we can even find a font with the same "x-height" as the monospaced font we are using. It might not exist on the system.