[Solved] Ugly text fonts, is this an anti-aliasing thing?

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
mintmdrescher
Level 1
Level 1
Posts: 31
Joined: Thu Jun 11, 2015 9:33 am

[Solved] Ugly text fonts, is this an anti-aliasing thing?

Post by mintmdrescher »

Hi list members,

I'm struggling with my new setup (Tricia xfce, Nvidia proprietary), console fonts in particular. Fonts in a browser are quite ok, but the console fonts are a mess. Window decorations an other windows text fonts kind of ...well, not ok, but one can work with it.
A plan text console, no X, no window manager, works as expected, too. Hence I would not think, this is a kind of physical problem.

Now, I would love to add a screen shot of a xfce4-terminal, but I can't. This forum software tells me "File too large" fot a 287K .png file.

Question would be: What makes this fonts so bad and how to fix this?

Let's see, if Google drive works here -> https://drive.google.com/file/d/1ApIQBj ... sp=sharing
Last edited by Anonymous on Tue Feb 18, 2020 2:56 pm, edited 1 time in total.
User avatar
trytip
Level 13
Level 13
Posts: 4894
Joined: Tue Jul 05, 2016 1:20 pm

Re: Ugly text fonts, is this an anti-aliasing thing?

Post by trytip »

begin try this:

Code: Select all

touch .config/fontconfig/fonts.conf

Code: Select all

xed .config/fontconfig/fonts.conf
paste:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
    <match target="font">
        <edit name="antialias" mode="assign">
            <bool>true</bool>
        </edit>
        <edit name="hinting" mode="assign">
            <bool>true</bool>
        </edit>
        <edit name="hintstyle" mode="assign">
            <const>hintslight</const>
        </edit>
        <edit name="rgba" mode="assign">
            <const>rgb</const>
        </edit>
        <edit name="autohint" mode="assign">
            <bool>true</bool>
        </edit>
        <edit name="lcdfilter" mode="assign">
            <const>lcddefault</const>
        </edit>
        <edit name="dpi" mode="assign">
            <double>102</double>
        </edit>
    </match>
    <match target="font">
        <test name="weight" compare="more">
            <const>medium</const>
        </test>
        <edit name="autohint" mode="assign">
            <bool>true</bool>
        </edit>
    </match>
</fontconfig>
after so update fonts cache:

Code: Select all

sudo fc-cache -fv
last: reboot or logout
Image
User avatar
Moem
Level 20
Level 20
Posts: 11794
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: Ugly text fonts, is this an anti-aliasing thing?

Post by Moem »

mintmdrescher wrote:
Tue Feb 18, 2020 10:04 am
Now, I would love to add a screen shot of a xfce4-terminal, but I can't. This forum software tells me "File too large" fot a 287K .png file.[/url]
The limit is apparently 200 KB, so just convert it to .jpg and Bob should be your uncle.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
mintmdrescher
Level 1
Level 1
Posts: 31
Joined: Thu Jun 11, 2015 9:33 am

Re: Ugly text fonts, is this an anti-aliasing thing?

Post by mintmdrescher »

trytip wrote:
Tue Feb 18, 2020 10:17 am
begin try this:

Code: Select all

touch .config/fontconfig/fonts.conf

Code: Select all

xed .config/fontconfig/fonts.conf
[...]
after so update fonts cache:

Code: Select all

sudo fc-cache -fv
last: reboot or logout
Great, this absolutely did the trick!
I guess, the lcdfilter is the important thing?


Thanks!
Post Reply

Return to “Software & Applications”