From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#32210: Support medium weighted fonts Date: Wed, 20 Oct 2021 15:20:25 +0200 Message-ID: <87h7dbn886.fsf@gnus.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> <838rync04b.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11461"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: carlosjosepita@gmail.com, 32210@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 20 15:22:11 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 1mdBXm-0002k5-KD for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Oct 2021 15:22:10 +0200 Original-Received: from localhost ([::1]:44274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdBXl-0005nM-LA for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Oct 2021 09:22:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdBWg-00059x-Vb for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2021 09:21:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41491) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdBWg-0007Z9-MT for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2021 09:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mdBWg-0000a9-GL for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2021 09:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Oct 2021 13:21:02 +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.16347360462195 (code B ref 32210); Wed, 20 Oct 2021 13:21:02 +0000 Original-Received: (at 32210) by debbugs.gnu.org; 20 Oct 2021 13:20:46 +0000 Original-Received: from localhost ([127.0.0.1]:53037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdBWQ-0000ZL-54 for submit@debbugs.gnu.org; Wed, 20 Oct 2021 09:20:46 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:47238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdBWF-0000Yx-2k for 32210@debbugs.gnu.org; Wed, 20 Oct 2021 09:20:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=4nepmBIOZIbjCUlUjjyGaHM2V3eFIY0xe+SQWrPIW0Q=; b=FVwRwmm3SaVXruj86lTErTilQE AjHMPVZJo9bHhxpBlThfZ0z05Oj8WC5aHmfox+rx3JgjLBIpwsecC97HSynnjGzGBV4UQLDKPemzG svr8ULUZFKDSyinOCtfA37l9HZVVQyD/4xc0HeOxKr9HndFjhL52EC0h64SFbd51/l2I=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mdBW6-00084o-2w; Wed, 20 Oct 2021 15:20:28 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEWclJg7LTGoSkT/ ///USQ+9AAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UKFA0SI83dagoAAAGzSURBVCjPLZLNattAFIXv lKrUXjlgBeKVKVWhegq5pNB6JQedizUrx1Qmo6dwTQ22Vyl0RKNVWxgTzVP2jpw7m/m4f2cOQxQi l/M6UrSjvOhuKR+9V4o+ZfmHYhXlo3EA5BPk4zEBf6nEMOEfcfH8EQu6s1scH2PuYoBgM+3yeGPK EnTHty1Q8n0isF5lSYDZmxHImNWrygLr6yvpKbCr5igWuBEAfkLj2015HaahBMcYeLZUIcxUOFNj KZJRyBRYydIevlxxM6tdAEYegwe/4xdQKKLmpUzgQS4kYoFfEepkY8kGYAufwAYFEp/ZO0SXzDxi f+bo0pM6rh26Hnh41FJW9rCkdwG6vientwKsesiG28m/pj0KsM2IJn75J5TNa4HUL6cDspUfZuk2 Pc1VQnbvz4/pIfU1iQec+hFNva8PwR3vx9NdC30QoV/FqK1rUT/H5KogTp/udaIIdWuN7lDv4xnB t671Rjqdocb785Mx6FoHYr9hb4w+w0imqhtttPO+Ra+an5StRPDFECe/JHgN2Ypq/Ki+B5if9v1j +8yig/Yo1kmAh0SG9oYJ1IiZL/AfYejDMGPqrdgAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMTAt MjBUMTM6MTg6MzUrMDA6MDCExJN7AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTEwLTIwVDEzOjE4 OjM1KzAwOjAw9ZkrxwAAAABJRU5ErkJggg== X-Now-Playing: The Beatles's _Sgt. Peppers Lonely Hearts Club Band (3)_: "Penny Lane (Take 6 Instrumental)" In-Reply-To: <838rync04b.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 20 Oct 2021 16:11:00 +0300") 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:217669 Archived-At: Eli Zaretskii writes: >> - { 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. The numbers are? The data ends up in font-weight-table, but this is the only place I can find in faces.el that uses that variable: (defun face-valid-attribute-values (attribute &optional frame) [...] (:weight (mapcar #'(lambda (x) (cons (symbol-name (aref x 1)) (aref x 1))) font-weight-table)) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no