What happened to the fonts? (Buster)

If none of the more specific forums is the right place to ask
Message
Author
User avatar
a3e6u9
Posts: 13
Joined: 2012-10-04 06:28

What happened to the fonts? (Buster)

#1 Post by a3e6u9 »

Hello, I've just installed Buster but I find the fonts annoying, I liked them in Stretch. Here is what I mean:
Attachments
buster.png
buster.png (2.48 KiB) Viewed 10492 times
stretch.png
stretch.png (2.1 KiB) Viewed 10492 times
DON'T PANIC!

User avatar
Head_on_a_Stick
Posts: 13450
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: What happened to the fonts? (Buster)

#2 Post by Head_on_a_Stick »

Which desktop is this?

Check the font settings, it's probably the hinting.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support

User avatar
a3e6u9
Posts: 13
Joined: 2012-10-04 06:28

Re: What happened to the fonts? (Buster)

#3 Post by a3e6u9 »

I've disabled hinting now, there is a difference, but not an improvement:
Attachments
hinting_off.png
hinting_off.png (3.15 KiB) Viewed 10453 times
DON'T PANIC!

User avatar
Head_on_a_Stick
Posts: 13450
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: What happened to the fonts? (Buster)

#4 Post by Head_on_a_Stick »

a3e6u9 wrote:I've disabled hinting
There are four different hinting types available, try matching whichever setting stretch is using.

Did you check the antialiasing method?
Black Lives Matter

Debian buster-backports ISO image: for new hardware support

User avatar
dotlj
Posts: 646
Joined: 2009-12-25 17:21

Re: What happened to the fonts? (Buster)

#5 Post by dotlj »

I've been running Buster on this box for at least a month, with KDE and can't notice any difference in fonts compared to Stretch.
I mostly use a terminal but with my HD screen, I can read the fine print quite clearly using default settings, which are in
System Settings > Fonts > Anti-aliasing - use Vendor Default
and in Font management - also using default values.

User avatar
GarryRicketson
Posts: 5872
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: What happened to the fonts? (Buster)

#6 Post by GarryRicketson »

They both look the same to me, in the first post screen shots. And then the 3rd one , still looks the same,... :?:

User avatar
a3e6u9
Posts: 13
Joined: 2012-10-04 06:28

Re: What happened to the fonts? (Buster)

#7 Post by a3e6u9 »

GarryRicketson wrote:They both look the same to me, in the first post screen shots. And then the 3rd one , still looks the same,... :?:
They don't look the same, but the difference is slight. On my screen I find the difference annoying, on Buster there is a tinge. I think it's because of the lcdfilter setting, after I set it to lcdlegacy I saw an improvement. On Stretch, these settings are undistinguishable from the default ones, but on Buster there is still a difference, though the fonts look better (to me):

Code: Select all

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <match target="font">
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="autohint" >
   <bool>false</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hintstyle" >
  <const>hintfull</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="rgba" >
   <const>rgb</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
   <edit mode="assign" name="lcdfilter">
   <const>lcdlegacy</const>
   </edit>
 </match>
</fontconfig>
The funny thing is that I've seen people complain about the default Stretch fonts, which seem perfect to me and their "fix" makes the fonts look terrible (to me). So I guess that it depends on the screen/person.
DON'T PANIC!

User avatar
sickpig
Posts: 589
Joined: 2019-01-23 10:34

Re: What happened to the fonts? (Buster)

#8 Post by sickpig »

I wonder how world would look if you are colour blind. But as far as fonts are concerned I am blessed with being font blind, i dont absolutely mind whatever font it is. I am just not bothered by it. But I have been around a lot of people who are extremely intolerant of a different font-set. So I can identify with the OP however I agree with Garry both pics look the same.

User avatar
None1975
Posts: 1019
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: What happened to the fonts? (Buster)

#9 Post by None1975 »

Hello. You can try my fontconfig:

Code: Select all

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>

 <alias>
    <family>serif</family>
    <prefer><family>Linux Libertine</family></prefer>
  </alias>
  <alias>
    <family>sans-serif</family>
    <prefer><family>Linux Biolinum</family></prefer>
  </alias>
  <alias>
    <family>sans</family>
    <prefer><family>Linux Biolinum</family></prefer>
  </alias>
  <alias>
    <family>monospace</family>
    <prefer><family>Inconsolata</family></prefer>
  </alias>

   <!-- This sets Symbola as the final fallback font for the monospace font family. -->
  <match target="pattern">
        <test name="family"><string>monospace</string></test>
        <edit name="family" mode="append"><string>Symbola</string></edit>
    </match>

</fontconfig>
Also, you should install fonts-inconsolata and fonts-symbola

Code: Select all

sudo apt install fonts-inconsolata fonts-symbola
Looks like this:
Image

Also in my .Xresource file, i have this settings

Code: Select all

Xft.dpi:       96
Xft.antialias: 1
Xft.hinting: 1
Xft.hintstyle: hintslight
Xft.rgba: rgb
Xft.lcdfilter: lcddefault
OS: Debian 10.3 Buster / WM: xmonad
Debian Wiki | DontBreakDebian, My config files on github

User avatar
Head_on_a_Stick
Posts: 13450
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: What happened to the fonts? (Buster)

#10 Post by Head_on_a_Stick »

Black Lives Matter

Debian buster-backports ISO image: for new hardware support

User avatar
a3e6u9
Posts: 13
Joined: 2012-10-04 06:28

Re: What happened to the fonts? (Buster)

#11 Post by a3e6u9 »

GarryRicketson wrote:They both look the same to me, in the first post screen shots. And then the 3rd one , still looks the same,... :?:
Let me show you the differences. It's amazing what some people think are nice fonts (4th one).
Attachments
compare.png
compare.png (3.75 KiB) Viewed 10255 times
DON'T PANIC!

User avatar
a3e6u9
Posts: 13
Joined: 2012-10-04 06:28

Re: What happened to the fonts? (Buster)

#12 Post by a3e6u9 »

Thank you, but the solutions don't work for me. Maybe I need to downgrade to the good fontconfig (or skip Buster altogether).
DON'T PANIC!

L_V
Posts: 1270
Joined: 2007-03-19 09:04

Re: What happened to the fonts? (Buster)

#13 Post by L_V »

You should start from scratch with a fresh user session, or create a user test session to compare.
You may be hold some old settings over upgrades which are not necessary anymore.
I say this because I recently created a new user profile, and don't have any font problems in KDE in Buster with 100% default font setting.
I always had had more or less font problems in GTk applications (not as clean as expected), and now perfect in Buster.
I only had to disable font anti-aliasing in terminal.
Also check you don't have some old and totally obsolete Xorg settings somewhere in your system.

User avatar
fender0107401
Posts: 50
Joined: 2014-05-10 11:42

Re: What happened to the fonts? (Buster)

#14 Post by fender0107401 »

I like dejavu sans mono font, and I use this fond all the time.

debianuser0000
Posts: 6
Joined: 2019-07-19 07:10

Re: What happened to the fonts? (Buster)

#15 Post by debianuser0000 »

Hello.

I installed Debian 10 a week ago and saw that fonts are ugly.
I use xfce desktop.
So i checked debian 10 xfce live and found that fonts are ugly too.
Then i checked debian 9 xfce live and found that fonts are beautiful.

Below are scrennshots:
from debian 10 xfce live:
https://images90.fotosik.pl/220/6723cfbe845e8048.png
https://images90.fotosik.pl/220/6713598b7159911b.png
https://images89.fotosik.pl/220/98b83e2164b256a9.png

from debian 9 xfce live:
https://images92.fotosik.pl/221/c92f3f615507e23c.png
https://images89.fotosik.pl/220/ef24bd83a60048cf.png
https://images89.fotosik.pl/220/0a3787d8b50c84cf.png

I am not very experienced user.
What to do to fix fonts in debian 10?

axkibe
Posts: 13
Joined: 2013-11-28 07:28

Re: What happened to the fonts? (Buster)

#16 Post by axkibe »

I read in the update notes they changed the default setting for font hinting to "slight". You might want to change it back.

debianuser0000
Posts: 6
Joined: 2019-07-19 07:10

Re: What happened to the fonts? (Buster)

#17 Post by debianuser0000 »

axkibe wrote:I read in the update notes they changed the default setting for font hinting to "slight". You might want to change it back.
Hi, thanks for reply.
I already found that in /usr/share/doc/fontconfig-config/NEWS.Debian.gz
I already tried that and it did not help.

Weird thing is that when in xfce appearance fonts settings i change hinting from full to medium and reverse, nothing really changes.

debianuser0000
Posts: 6
Joined: 2019-07-19 07:10

Re: What happened to the fonts? (Buster)

#18 Post by debianuser0000 »

Hello.

I found a solution.
You need to add to /etc/environment this:

Code: Select all

FREETYPE_PROPERTIES="truetype:interpreter-version=35"
and then run

Code: Select all

dpkg-reconfigure fontconfig-config
and set hinting to full.

Link to this solution was posted by user @Head_on_a_Stick in this thread, but for some reason it does not work for all fonts.

Because i use Liberation fonts this work only with fonts from package fonts-liberation, not fonts-liberation2
If you have both packages installed, then it's best to uninstall fonts-liberation2.

User avatar
sickpig
Posts: 589
Joined: 2019-01-23 10:34

Re: What happened to the fonts? (Buster)

#19 Post by sickpig »

u r posting to a thread when buster was testing now its stable so maybe start a new thread?

debianuser0000
Posts: 6
Joined: 2019-07-19 07:10

Re: What happened to the fonts? (Buster)

#20 Post by debianuser0000 »

sickpig wrote:u r posting to a thread when buster was testing now its stable so maybe start a new thread?
Hello.

I did not look at the date at all :oops: :oops: :oops: :oops:

But do I really have to create a separate thread?
I've already solved my problem.
I believe that this solution fits this thread perfectly.

Post Reply