I am using Debian GNU/Linux version 8 with LXDE. Regarding fonts, I have my system configured to use anti‐aliasing, subpixel rendering, and full hinting. However, I want to disable hinting for Liberation Serif, but it does not work in Firefox. Firefox still uses full hinting for Liberation Serif. However, Liberation Serif is correctly shown as non‐hinted in other programs (I checked in Gucharmap, Leafpad and LibreOffice Writer).
How can I disable hinting for all serif fonts or just Liberation Serif in Firefox?
I have hinting set to full with the customizer that comes with LXDE and the following code in
~/.fonts.conf (the later is a symbolic links to the former):
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <match target="font"> <edit mode="assign" name="lcdfilter"> <const>lcddefault</const> </edit> </match> <match target="pattern"> <test qual="any" name="family"><string>Liberation Serif</string></test> <edit name="hintstyle" mode="assign"> <const>hintnone</const> </edit> </match> </fontconfig>