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.bugs Subject: bug#32210: Support medium weighted fonts Date: Wed, 20 Oct 2021 16:11:00 +0300 Message-ID: <838rync04b.fsf@gnu.org> References: <87v9riaofa.fsf@gnus.org> <83pnhq5w92.fsf@gnu.org> <87lfse5t5g.fsf@gnus.org> <835zji5qyn.fsf@gnu.org> <87k17xqxzy.fsf@gnus.org> <87eey5qxeh.fsf@gnus.org> <835zjh4243.fsf@gnu.org> <871ru5qf2w.fsf@gnus.org> <83muct2izq.fsf@gnu.org> <87r224nukh.fsf@gnus.org> <87lf2nn997.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34689"; mail-complaints-to="usenet@ciao.gmane.io" Cc: carlosjosepita@gmail.com, 32210@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 20 15:11:09 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1mdBN7-0008oP-MB for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Oct 2021 15:11:09 +0200 Original-Received: from localhost ([::1]:35640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdBN6-0007JM-M1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Oct 2021 09:11:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdBN0-0007JB-Dw for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2021 09:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41476) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdBN0-0004wl-5J for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2021 09:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mdBMz-0000Jx-UP for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2021 09:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Oct 2021 13:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32210 X-GNU-PR-Package: emacs Original-Received: via spool by 32210-submit@debbugs.gnu.org id=B32210.16347354581223 (code B ref 32210); Wed, 20 Oct 2021 13:11:01 +0000 Original-Received: (at 32210) by debbugs.gnu.org; 20 Oct 2021 13:10:58 +0000 Original-Received: from localhost ([127.0.0.1]:53022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdBMv-0000Jf-Pg for submit@debbugs.gnu.org; Wed, 20 Oct 2021 09:10:57 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdBMu-0000JS-96 for 32210@debbugs.gnu.org; Wed, 20 Oct 2021 09:10:56 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38670) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdBMo-0004nT-Hi; Wed, 20 Oct 2021 09:10:50 -0400 Original-Received: from [87.69.77.57] (port=1158 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 1mdBMm-0006QA-7s; Wed, 20 Oct 2021 09:10:50 -0400 In-Reply-To: <87lf2nn997.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 20 Oct 2021 14:58:12 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:217667 Archived-At: > From: Lars Ingebrigtsen > Cc: carlosjosepita@gmail.com, 32210@debbugs.gnu.org > Date: Wed, 20 Oct 2021 14:58:12 +0200 > > /* Table of weight numeric values and their names. This table must be > sorted by numeric values in ascending order. */ > > static const struct table_entry weight_table[] = > { > { 0, { "thin" }}, > - { 20, { "ultra-light", "ultralight" }}, > - { 40, { "extra-light", "extralight" }}, > - { 50, { "light" }}, > - { 75, { "semi-light", "semilight", "demilight", "book" }}, > - { 100, { "normal", "medium", "regular", "unspecified" }}, > - { 180, { "semi-bold", "semibold", "demibold", "demi" }}, > - { 200, { "bold" }}, > - { 205, { "extra-bold", "extrabold" }}, > - { 210, { "ultra-bold", "ultrabold", "black" }} > > What are those numbers? Is it just an ordering, and it doesn't matter > what the numbers are? Or are they used when instantiating fonts > somewhere? It's used in faces.el.