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: Incorrect font weight selected Date: Sun, 19 Dec 2021 15:32:45 +0200 Message-ID: <83czls90ua.fsf@gnu.org> References: <87pmpv708h.fsf@wavexx.thregr.org> <877dc1sdev.fsf@melete.silentflame.com> <83h7b59jr9.fsf@gnu.org> <87bl1cg77s.fsf@wavexx.thregr.org> <83k0g092pg.fsf@gnu.org> <87zgowkaeu.fsf@wavexx.thregr.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19517"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, spwhitton@spwhitton.name To: Yuri D'Elia Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 19 14:34:51 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 1mywKw-0004pm-Ud for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Dec 2021 14:34:51 +0100 Original-Received: from localhost ([::1]:43184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mywKv-0004Zo-H8 for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Dec 2021 08:34:49 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48112) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mywJ4-00031J-PR for emacs-devel@gnu.org; Sun, 19 Dec 2021 08:32:55 -0500 Original-Received: from [2001:470:142:3::e] (port=34284 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 1mywJ4-0005Tq-2q; Sun, 19 Dec 2021 08:32:54 -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=dggBx6wL7kilNsIakmEl/bt9Yxr1K1JpPl8Q11jhvYM=; b=a6lCwu1N38Ah hYbURnspPvxpmDrw7ZWOiml8ZcZE/VGBXSpuDmmEu+EtZbDL273ii3tAnmCcnoUBBiypgLxDvz7OS lRaOEtjhsILm4BghCVi20rhfeXRRMlcGCZ48Owcuft3Tug9wLsma4x6cmUo0y4LXERRv3MwMoBIsz gaShD0oIJRjswhv9jmSDIcM0Rzfvy5WoXsb64EfMcbx9InRX1j6iI14nrKnR/YeD5Gga7Qzx+vLXr EMDzneyzPoRq6MbnbH7v/yvpXk/Awny59mX35mr9gYjDJalNG0uFTX0+FuVmbgIHp0oxry0YBMtbU nyV06OWTd9jEOSyJ9l7K5w==; Original-Received: from [87.69.77.57] (port=2810 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 1mywJ3-0001ss-ST; Sun, 19 Dec 2021 08:32:54 -0500 In-Reply-To: <87zgowkaeu.fsf@wavexx.thregr.org> (message from Yuri D'Elia on Sun, 19 Dec 2021 13:57:06 +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:282433 Archived-At: > From: Yuri D'Elia > Cc: spwhitton@spwhitton.name, emacs-devel@gnu.org > Date: Sun, 19 Dec 2021 13:57:06 +0100 > > On Sun, Dec 19 2021, Eli Zaretskii wrote: > > I asked about the weight, not the style. > > Good point, got confused :/ > > > Emacs 29 distinguishes between 'medium' and 'regular'/'normal' weight, > > and I don't think I see 'medium' in the above output (or maybe I > > misunderstand it). > > > > Can you show the numerical value of the weight for each one of the > > above font varieties? (Sorry, I don't know how to ask fc to report > > that.) > > $ fc-list Iosevka -f '%{weight} %{style}\n' | egrep -i 'Medium|Regular' | sort -n > 0 Thin Extended Oblique,Regular > 0 Thin Extended,Regular > 0 Thin Oblique,Regular > 0 Thin,Regular > 40 Extralight Extended Oblique,Regular > 40 Extralight Extended,Regular > 40 Extralight Oblique,Regular > 40 Extralight,Regular > 50 Light Extended Oblique,Regular > 50 Light Extended,Regular > 50 Light Oblique,Regular > 50 Light,Regular > 80 Extended Oblique,Regular > 80 Extended,Regular > 80 Oblique,Regular > 80 Regular > 100 Medium Extended Italic,Italic > 100 Medium Extended Oblique,Regular > 100 Medium Extended,Regular > 100 Medium Italic,Italic > 100 Medium Oblique,Regular > 100 Medium,Regular > 180 Semibold Extended Oblique,Regular > 180 Semibold Extended,Regular > 180 Semibold Oblique,Regular > 180 Semibold,Regular > 205 Extrabold Extended Oblique,Regular > 205 Extrabold Extended,Regular > 205 Extrabold Oblique,Regular > 205 Extrabold,Regular > 210 Heavy Extended Oblique,Regular > 210 Heavy Extended,Regular > 210 Heavy Oblique,Regular > 210 Heavy,Regular > > Keep in mind I'm also not a font guru. > > $ fc-list Inconsolata -f '%{weight} %{style}\n' > 100 Medium > > So Inconsolata _only_ has Medium on my system (this is Inconsolata > 001.010-6 from the debian unstable package). I assume the other weights > are synthesized via freetype in this case. > > For comparison: > > $ fc-list 'Noto Sans' -f '%{weight} %{style}\n' | sort -n > 80 Italic > 80 Regular > 200 Bold > 200 Bold Italic > > So the weight mapping in Iosevka seems at least superficially correct. There are two different people in this discussion with two different font families and with potentially different setups of their systems. I no longer understand what questions am I supposed to answer. > Note that Iosevka is a open font, just in case you want to test this: > > https://github.com/be5invis/Iosevka/ I cannot test this on machines to which I have access, sorry. Anyway, I asked about Inconsolata, not Iosevka, and I asked Sean about his setup.