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: Font size Date: Thu, 05 Aug 2021 19:19:12 +0300 Message-ID: <83czqrkgov.fsf@gnu.org> References: <835ywpo8ar.fsf@gnu.org> <87pmut1idr.fsf@gmail.com> <83fsvpl3w6.fsf@gnu.org> <87eeb9e2h1.fsf@gmail.com> <838s1hkx57.fsf@gnu.org> <835ywlkr0r.fsf@gnu.org> <87wnp0rlki.fsf@gmail.com> 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="12712"; mail-complaints-to="usenet@ciao.gmane.io" Cc: masm+emacs@masm11.me, emacs-devel@gnu.org, kevin.legouguec@gmail.com, yuri.v.khan@gmail.com To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 05 18:20:16 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 1mBg6R-00035n-Px for ged-emacs-devel@m.gmane-mx.org; Thu, 05 Aug 2021 18:20:15 +0200 Original-Received: from localhost ([::1]:47392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBg6P-0004zs-Mm for ged-emacs-devel@m.gmane-mx.org; Thu, 05 Aug 2021 12:20:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBg5T-0004Kw-IV for emacs-devel@gnu.org; Thu, 05 Aug 2021 12:19:15 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45284) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBg5R-0004Y4-Sw; Thu, 05 Aug 2021 12:19:13 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2697 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 1mBg5R-0001EE-Fs; Thu, 05 Aug 2021 12:19:13 -0400 In-Reply-To: <87wnp0rlki.fsf@gmail.com> (message from Robert Pluim on Thu, 05 Aug 2021 16:51:57 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:272102 Archived-At: > From: Robert Pluim > Cc: Eli Zaretskii , masm+emacs@masm11.me, Emacs developers > , Kévin Le Gouguec > > Date: Thu, 05 Aug 2021 16:51:57 +0200 > > >>>>> On Thu, 5 Aug 2021 01:33:16 +0700, Yuri Khan said: > > Yuri> On Thu, 5 Aug 2021 at 01:24, Eli Zaretskii wrote: > >> My question was whether the same units are likely to be used in the > >> X+GTK build as they are in the PGTK build. IOW, that your guess of > >> the units being 1/96 inch is true or false for both of them. > > Yuri> I’m not related to GNOME or GTK+ development, but I would be much > Yuri> surprised if font sizes were specified in anything other than points > Yuri> (which are 1/72 in, not 1/96 in); and especially if GTK behaved > Yuri> differently in that regard between X and Wayland and/or depended on > Yuri> other factors other than poorly configured screen DPI. > > Fontconfig talks about sizes in points (but allows them to be > fractional, the underlying data type is a double) I wasn't talking about the Fontconfig format of specifying a font, I was talking about the GTK format. They are different, see the node "Fonts" in the Emacs manual.