I want to reassign the bold face of a font family with the medium face of the same family.

I have this in my fontconfig local.conf and whilst some Linux apps honour the rules, it doesn't seem to work on the web. The medium weight is provided by the family.

     <match target="pattern">
     <test name="family"><string>sans</string></test>
     <test name="weight" compare="eq"><const>bold</const></test>
     <edit name="weight" binding="same" mode="assign"><const>medium</const></edit>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.