You are not logged in.
I'm trying to disable emboldening for monospace fonts, which is known for causing alignment issues in text editors for fonts that don't have a bold typeface. I put the following in my ~/.config/fontconfig/fonts.conf file :
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<test name="spacing" compare="eq">
<const>mono</const>
</test>
<edit name="embolden" mode="assign">
<bool>false</bool>
</edit>
</match>
</fontconfig>However, the changes don't seem to be applied - Inconsolata is still rendered as fake-bold in Geany. I tried running fc-cache -r and rebooting, but it didn't seem to have any kind of effect.
What am I doing wrong? Thank you in advance for any ideas.
-dkk
Last edited by lazysunbather (2013-12-14 11:12:07)
A plastic bag stranded at the lights, this once was me!
Offline
Check that you have /etc/fonts/conf.d/50-user.conf, containing the line:
<include ignore_missing="yes" prefix="xdg">fontconfig/fonts.conf</include>Offline
Unfortunately, it's there.
A plastic bag stranded at the lights, this once was me!
Offline
Check that your "match" is actually matching. I like to add this, which makes the font ugly, as an easy way to check the match:
<edit mode="assign" name="antialias"><bool>false</bool></edit>Offline
i removed /etc/fonts/conf.d/90-synthetic.conf, iirc, to disable fake bold and fake italic.
Offline
@brebs, I tried that and all my monospace fonts got ugly, like you said. So I guess that the match is matching. However, it's still no-go when it comes to disabling the "embolden" attribute.
I ended up with just removing 90-synthetic.conf, like @ondoho said. However, I'd still like to find out what's causing this kind of behaviour.
A plastic bag stranded at the lights, this once was me!
Offline
Give it a try with the binding="same" attribute on the edit group.
Last edited by zyth88 (2013-12-18 01:15:26)
Offline