Subject: bug#53866: face-attribute giving bold for ultra-bold attribute

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 08 Feb 2022 06:54:14 +0100

goncholden <[email-masked]> writes:

> I have called in my init file
>
>   (set-face-attribute 'default nil :height 160 :weight 'ultra-bold)
>
> But (princ (face-attribute 'default :weight)) gives bold.

Please use `M-x report-emacs-bug' when reporting bugs so that we can see
the information about your Emacs build and OS.

Does the font you use have an ultra-bold variation?  Very few fonts have
that weight (but many have the "black" weight, which is heavier).

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