Created
April 4, 2011 23:37
-
-
Save codebrainz/902717 to your computer and use it in GitHub Desktop.
Font configuration file to override "emboldening" of fonts without a bold version.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Copy to fileI think it goes in~/.fonts.conf
.~/.config/fontconfig/fonts.conf
on more recent fontconfig versions.