https://bugzilla.redhat.com/show_bug.cgi?id=1823637
--- Comment #41 from Akira TAGOH tagoh@redhat.com --- (In reply to Peng Wu from comment #37)
Akira TAGOH, I created one patch to recognize Medium Weight as Regular style.
URL: https://gitlab.freedesktop.org/pwu/fonttosfnt/-/commit/ 7096c58f3fe3b6c79508cb16daac5c5bb2f042e7
Here are the Fedora 32 copr testing repo.
URL: https://copr.fedorainfracloud.org/coprs/pwu/fonttosfnt/
If this patch is okay, I will create upstream merge request soon.
Yes, LGTM.
(In reply to Nicolas Mailhot from comment #40)
And, because various generations of software will select fonts by Name *or* Weight, or some mix of both (and various iterations of the CSS and OpneType specs have encouraged one mode at the expense of the other, then changed their mind), it is not sufficient to adjust Weight value only. You need to adjust the Weight value *and* the style name and make sure they are coherent with one another, or bad things will happen®.
Fortunately or unfortunately fonttosfnt already sets Regular as style name. no need changes further.
i18n-bugs@lists.fedoraproject.org