https://bugzilla.redhat.com/show_bug.cgi?id=1823637
--- Comment #28 from Akira TAGOH tagoh@redhat.com --- Some updates:
Apparently "Medium" in BDF and "Medium" in OpenType looks different. XLFD deals with "Medium" as "Regular". in this sense, bdftopcf do the right job. but fonttosfnt not.
For a workaround, we need to apply the following config to fix the weight:
<fontconfig> <match target="scan"> <test name="family"><string>Terminus</string></test> <test name="style"><string>Regular</string></test> <test name="weight"><const>medium</const></test> <edit name="weight" mode="assign"><const>regular</const></edit> </match> </fontconfig>
After this, "fc-match terminus" works as expected: $ fc-match terminus Terminus.otb: "Terminus" "Regular"
as well as Terminus Italic on the font picker.
i18n-bugs@lists.fedoraproject.org