public
Last active

Font configuration file to override "emboldening" of fonts without a bold version.

  • Download Gist
.fonts.conf
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
 
<!--
This overrides what's in /etc/fonts/conf.d/90-synthetic.conf for
"faking" bold fonts, but only for monospace fonts.
-->
<fontconfig>
<match target="font">
<test name="spacing" compare="eq">
<const>mono</const>
</test>
<edit name="embolden" mode="assign">
<bool>false</bool>
</edit>
</match>
</fontconfig>

Copy to file ~/.fonts.conf.

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.