Solved Chromium doesn't obey the font hinting setting of MATE

  • Thread starter Deleted member 63539
  • Start date
D

Deleted member 63539

Guest
From what I observed, Chromium seemed to use no hinting at all.
 
You could try this: in your home directory there are some hidden directories, make them visible and one of them is called .config (something like this: ~/.config). Inside of this directory create another directory named fontconfig (if it does not exist, e.g. ~/.config/fontconfig) and inside of fontconfig, create a file named fonts.conf with the following content:

Code:
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
    <match target="font">
        <edit mode="assign" name="antialias">
            <bool>true</bool>
        </edit>
        <edit mode="assign" name="embeddedbitmap">
            <bool>false</bool>
        </edit>
        <edit mode="assign" name="hinting">
            <bool>true</bool>
        </edit>
        <edit mode="assign" name="hintstyle">
            <const>hintslight</const>
        </edit>
        <edit mode="assign" name="lcdfilter">
            <const>lcddefault</const>
        </edit>
        <edit mode="assign" name="rgba">
            <const>rgb</const>
        </edit>
    </match>
</fontconfig>

Hope this helps.

Edit: I forgot to add that, after creating this file, you should log out and log in back for this to take effect.
 
You could try this: in your home directory there are some hidden directories, make them visible and one of them is called .config (something like this: ~/.config). Inside of this directory create another directory named fontconfig (if it does not exist, e.g. ~/.config/fontconfig) and inside of fontconfig, create a file named fonts.conf with the following content:

Code:
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
    <match target="font">
        <edit mode="assign" name="antialias">
            <bool>true</bool>
        </edit>
        <edit mode="assign" name="embeddedbitmap">
            <bool>false</bool>
        </edit>
        <edit mode="assign" name="hinting">
            <bool>true</bool>
        </edit>
        <edit mode="assign" name="hintstyle">
            <const>hintslight</const>
        </edit>
        <edit mode="assign" name="lcdfilter">
            <const>lcddefault</const>
        </edit>
        <edit mode="assign" name="rgba">
            <const>rgb</const>
        </edit>
    </match>
</fontconfig>

Hope this helps.

Edit: I forgot to add that, after creating this file, you should log out and log in back for this to take effect.
This worked. Thanks :)
 
Back
Top