https://bugzilla.redhat.com/show_bug.cgi?id=1823637



--- Comment #28 from Akira TAGOH <[email protected]> ---
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.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
fonts-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to