GNU bug report logs - #32210
Support medium weighted fonts

Previous Next

Package: emacs;

Reported by: Carlos Pita <carlosjosepita <at> gmail.com>

Date: Thu, 19 Jul 2018 14:07:02 UTC

Severity: normal

Merged with 28351, 51155

Found in versions 26.0.50, 29.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #57 received at 32210 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: carlosjosepita <at> gmail.com, 32210 <at> debbugs.gnu.org
Subject: Re: bug#32210: Support medium weighted fonts
Date: Wed, 20 Oct 2021 17:18:55 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: carlosjosepita <at> gmail.com,  32210 <at> debbugs.gnu.org
> Date: Wed, 20 Oct 2021 15:20:25 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> 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))
> 

Not sure what exactly you are asking, but does font_style_to_value
answer that?




This bug report was last modified 3 years and 104 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.