Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Debian 9 Stretch Out-Of-the-Box Fonts

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
RebelCoder
Posts: 15
Joined: 2018-01-30 10:49
Location: Moscow/London/Riga

Debian 9 Stretch Out-Of-the-Box Fonts

#1 Post by RebelCoder »

Hello.

I have been a Debian-based distro for last 2+ years. I have never used clean Debian 9, but SparkyLinux, Neptune Linux, etc.
Now I have switched to pure Debian 9, and the only thing I can't make work, are the fonts. they are horrible pout-of-the-box.

Web and Code editors have Monospace and other nice fonts by default on other Distros I have tried, but on Deb 9 they are horrible to look at. Can anyone help with this please ?

Image

Image

Regards.
Juris.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Debian 9 Stretch Out-Of-the-Box Fonts

#2 Post by Head_on_a_Stick »

Try this in ~/.config/fontconfig/fonts.conf:

Code: Select all

<fontconfig>
    <match target="font">
        <edit mode="assign" name="hinting" >
            <bool>true</bool>
        </edit>
        <edit mode="assign" name="autohint" >
            <bool>true</bool>
        </edit>
        <edit mode="assign" name="hintstyle" >
            <const>hintslight</const>
        </edit>
        <edit mode="assign" name="rgba" >
            <const>rgb</const>
        </edit>
        <edit mode="assign" name="antialias" >
            <bool>true</bool>
        </edit>
        <edit mode="assign" name="lcdfilter">
            <const>lcddefault</const>
        </edit>
    </match>
</fontconfig>
You may prefer stronger hinting or the alternative lcdfilter patterns but the above configuration works for me© :)
deadbang

User avatar
RebelCoder
Posts: 15
Joined: 2018-01-30 10:49
Location: Moscow/London/Riga

Re: Debian 9 Stretch Out-Of-the-Box Fonts

#3 Post by RebelCoder »

Amazing! Thanks so much! Will add to my Patch-After-Debian-Install.

Work perfectly fine!

Post Reply