Subject: bug#51767: 29.0.50; :weight=regular still resolving to medium font weight

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 12 Nov 2021 06:25:59 +0100

Poking around to find the easiest way to debug this, which isn't that
easy.  But here's one:

(list-fonts (font-spec :family "Iosevka SS08" :weight 'normal))
=> nil

(list-fonts (font-spec :family "Iosevka SS08" :weight 'medium))
=> (#<font-entity ftcrhb UKWN Iosevka\ SS08 nil iso10646-1 medium italic expanded 0 nil 90 0 ((:font-entity "/home/larsi/.fonts/iosevka-ss08.ttc" . 85))> #<font-entity ftcrhb UKWN Iosevka\ SS08 nil iso10646-1 medium italic normal 0 nil 90 0 ((:font-entity "/home/larsi/.fonts/iosevka-ss08.ttc" . 79))> #<font-entity ftcrhb UKWN Iosevka\ SS08 nil iso10646-1 medium italic normal 0 nil 90 0 ((:font-entity "/home/larsi/.fonts/iosevka-ss08.ttc" . 61))> #<font-entity ftcrhb UKWN Iosevka\ SS08 nil iso10646-1 medium normal expanded 0 nil 90 0 ((:font-entity "/home/larsi/.fonts/iosevka-ss08.ttc" . 57))> #<font-entity ftcrhb UKWN Iosevka\ SS08 nil iso10646-1 medium oblique normal 0 nil 90 0 ((:font-entity "/home/larsi/.fonts/iosevka-ss08.ttc" . 78))> #<font-entity ftcrhb UKWN Iosevka\ SS08 nil iso10646-1 medium normal expanded 0 nil 90 0 ((:font-entity "/home/larsi/.fonts/iosevka-ss08.ttc" . 75))> #<font-entity ftcrhb UKWN Iosevka\ SS08 nil iso10646-1 medium oblique expanded 0 nil 90 0 ((:font-entity "/home/larsi/.fonts/iosevka-ss08.ttc" . 84))> #<font-entity ftcrhb UKWN Iosevka\ SS08 nil iso10646-1 medium oblique normal 0 nil 90 0 ((:font-entity "/home/larsi/.fonts/iosevka-ss08.ttc" . 60))> #<font-entity ftcrhb UKWN Iosevka\ SS08 nil iso10646-1 medium normal normal 0 nil 90 0 ((:font-entity "/home/larsi/.fonts/iosevka-ss08.ttc" . 72))> #<font-entity ftcrhb UKWN Iosevka\ SS08 nil iso10646-1 medium italic expanded 0 nil 90 0 ((:font-entity "/home/larsi/.fonts/iosevka-ss08.ttc" . 67))> #<font-entity ftcrhb UKWN Iosevka\ SS08 nil iso10646-1 medium oblique expanded 0 nil 90 0 ((:font-entity "/home/larsi/.fonts/iosevka-ss08.ttc" . 66))> #<font-entity ftcrhb UKWN Iosevka\ SS08 nil iso10646-1 medium normal normal 0 nil 90 0 ((:font-entity "/home/larsi/.fonts/iosevka-ss08.ttc" . 54))>)

So we're not able to find the normal weight at all, and it's not a
sorting issue, which I originally wondered about.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no