Subject: bug#32210: Support medium weighted fonts

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 18 Nov 2019 18:17:27 +0100

Eli Zaretskii <[email-masked]> writes:

>> I chose "Ubuntu Regular" and "Ubuntu Medium":
>> 
>> Weight: 400, symbol normal
>> Weight: 500, symbol semi-bold
>> 
>> And: Added wrinkle: In Emacs, the "Regular" font is heavier than the
>> "Medium" font (but they're not in the Gtk selector).
>
> Sorry, I don't understand: is this "wrinkle" due to the font, or is
> this something Emacs does?  If the latter, can you point out where we
> treat "regular" heavier than "medium"?

When choosing the font via the Gtk selector, the font named "Ubuntu
Regular" in the selector is less heavy than the font named "Ubuntu
Medium" in the selector, but in Emacs it's the other way around.

Here's after selecting "Ubuntu Regular":

And here's after selecting "Ubuntu Medium":

(The texts are from the debugging patch.)

So we have a whole a whole bunch of bugs here, apparently.

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