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 11:03:30 +0200 Message-ID: <83bl2ftd0d.fsf@gnu.org> References: <87bl2hyzca.fsf@gnus.org> <8735nszpdv.fsf@gnus.org> <87sfvswrp8.fsf@gnus.org> <87zgq0tu7z.fsf@gnus.org> <87r1bbrzd5.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18328"; 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 10:04:11 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 1moMI6-0004Zu-QT for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Nov 2021 10:04:11 +0100 Original-Received: from localhost ([::1]:38342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1moMI5-0003Fl-Np for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Nov 2021 04:04:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moMHR-0001uW-Si for emacs-devel@gnu.org; Sat, 20 Nov 2021 04:03:29 -0500 Original-Received: from [2001:470:142:3::e] (port=34334 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 1moMHR-0000iQ-Gk; Sat, 20 Nov 2021 04:03:29 -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=2MzbEz5EbaXgm38A6Z7hsDeOKAyXrjkuN1LWwIopqpU=; b=DMXo80pO4ccT 1cwJdRRKwqJvv1uk2OU0P2svmIx/vqC6xqUDKjfYmPA8wHfN88SuB4ixGuvnkIDFc8jmKlmYuH5A2 1ROchlB/WWgson3OG94QM43aFdNytBSus2YzspWqKCq2Jo0/MhbUjBpEAzWfRhbh/lxMtW7Idl5LD +S5rSiEvn/r99MOn1W0K+NPh4hD85jryigidpGsN8EouQ1aOSHeOwdFFMuU8xM6QgLzLRHMYSc0QS vZu/5iMmv/+Us1kHHOIDLC7XOvOY3/czVKwm6wLZDKgLE4yM6KqRJo+cXikEJngk6H9606kXdXdcv 9XeCZXOg4tCAQdIeo8Vk6A==; Original-Received: from [87.69.77.57] (port=4921 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 1moMHR-0001AB-1I; Sat, 20 Nov 2021 04:03:29 -0500 In-Reply-To: <87r1bbrzd5.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 20 Nov 2021 09:43:34 +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:279796 Archived-At: > From: Lars Ingebrigtsen > Date: Sat, 20 Nov 2021 09:43:34 +0100 > Cc: Emacs developers , Dmitry Gutov > > > Does harfbuzz, or something else, provide us with a way to know the > > x-height of a character? > > I've poked around briefly, and I don't see anything likely. fc-query > doesn't say anything about x-height either. Anybody else know? Emacs knows that for each character it displays. (Assuming I understand what "x-height of a character" means in this context.) We get the full metrics of the character from the font, and use that for layout.