What happened to the fonts? (Buster)

If none of the more specific forums is the right place to ask

Re: What happened to the fonts? (Buster)

Postby axkibe » 2019-07-23 14:21

I read in the update notes they changed the default setting for font hinting to "slight". You might want to change it back.
axkibe
 
Posts: 11
Joined: 2013-11-28 07:28

Re: What happened to the fonts? (Buster)

Postby debianuser0000 » 2019-07-23 16:06

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)

Postby debianuser0000 » 2019-07-29 06:08

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.
debianuser0000
 
Posts: 6
Joined: 2019-07-19 07:10

Re: What happened to the fonts? (Buster)

Postby sickpig » 2019-07-29 06:30

u r posting to a thread when buster was testing now its stable so maybe start a new thread?
haven = Sir P.G. Wodehouse's books. U havent lived unless u have read one :)
User avatar
sickpig
 
Posts: 314
Joined: 2019-01-23 10:34

Re: What happened to the fonts? (Buster)

Postby debianuser0000 » 2019-07-29 09:08

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.
debianuser0000
 
Posts: 6
Joined: 2019-07-19 07:10

Re: What happened to the fonts? (Buster)

Postby sickpig » 2019-07-29 09:34

no friend of course not, now that you have solved it :) And i loved your analysis and how u solved your issue. Well done!!

edit
i did not check the timestamp before posting my earlier post
Last edited by sickpig on 2019-07-29 09:44, edited 1 time in total.
haven = Sir P.G. Wodehouse's books. U havent lived unless u have read one :)
User avatar
sickpig
 
Posts: 314
Joined: 2019-01-23 10:34

Re: What happened to the fonts? (Buster)

Postby L_V » 2019-07-29 09:44

debianuser0000 wrote:I found a solution.
You need to add to /etc/environment.....
The problem which is may be not a problem, is that I totally disagree to consider this as "a" solution.
Fonts hinting/aliasing etc has to be managed at user level, and is totally depending on screen size/resolution and so on.
Then "a" solution for you ... but not a good generic solution.
L_V
 
Posts: 1036
Joined: 2007-03-19 09:04

Re: What happened to the fonts? (Buster)

Postby sickpig » 2019-07-29 09:51

debianuser0000 never said its a good generic solution. It worked for them. And I agree font, themes, icons or any settings modification are best at user level than global
haven = Sir P.G. Wodehouse's books. U havent lived unless u have read one :)
User avatar
sickpig
 
Posts: 314
Joined: 2019-01-23 10:34

Re: What happened to the fonts? (Buster)

Postby L_V » 2019-07-29 10:01

Font hinting/aliasing is stored at ~/.config/fontconfig/fonts.conf
Mine, for example, which fits my configuration, and very probably not another one

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

In kde systemsettings, everything a available to modifiy these parameters, without tweaking any file anywhere.
L_V
 
Posts: 1036
Joined: 2007-03-19 09:04

Re: What happened to the fonts? (Buster)

Postby debianuser0000 » 2019-07-31 06:56

L_V wrote:The problem which is may be not a problem, is that I totally disagree to consider this as "a" solution.
Fonts hinting/aliasing etc has to be managed at user level, and is totally depending on screen size/resolution and so on.
Then "a" solution for you ... but not a good generic solution.


Hello.

I agree with you at all.
But in my case i want it to be global 8)

As for fonts.conf file you posted. Changes are visible, but this is not enough. Even with hintstyle set to hintfull, fonts are still ugly.

I believe this is because of changes in freetype library version 2.7:
https://sourceforge.net/projects/freetype/files/freetype2/2.7/ - scroll down to read changes between 2.6.5 and 2.7
https://www.freetype.org/freetype2/docs/subpixel-hinting.html
and from what i read and in my understanding, not all fonts are updated.

But I'm not an expert, I'm just a regular user who likes to watch funny videos with cats :D

Anyway, i wish you all to have a nice day, life, etc.
You all are awesome 8)
debianuser0000
 
Posts: 6
Joined: 2019-07-19 07:10

Re: What happened to the fonts? (Buster)

Postby L_V » 2019-07-31 07:48

debianuser0000 wrote: Even with hintstyle set to hintfull, fonts are still ugly.
hinting/alias combination parameters is a trade-off. hintfulll does not mean 'best'.
You probably have had a problem somewhere else maybe with old configuration files somewhere.... over the time. This is the risk of system files.
I must say that default KDE configuration is already very good / for me.
Maybe to be more generic, tests should be made on a clean system (not with 4 dist upgrades with old Xorg files you even don't remember, and a new user profile which can be created for test (what I did).
Well, in summary, it works for you: great.

Choosing the right ttf font is also important. KDE uses fonts-noto by default, which is fine.
fonts-dejavu is also very good.

And for terminal ... fonts-firacode seems to be the best.
L_V
 
Posts: 1036
Joined: 2007-03-19 09:04

Re: What happened to the fonts? (Buster)

Postby debianuser0000 » 2019-07-31 10:24

L_V wrote:Maybe to be more generic, tests should be made on a clean system (not with 4 dist upgrades with old Xorg files you even don't remember, and a new user profile which can be created for test (what I did).


Helo.

I've already done that:
- clean install
- new user
- I even test it on debian live cd on real hardware and in virtual box
Each time I received the same results
For desktop i use fonts-liberation.
For terminal i use xfonts-terminus.

But, i use XFCE desktop. Maybe KDE can deal with fonts better.

Anyway I am glad that yours configuration works for you :)
Thankyou for yours and others help. :)
You all are awesome :*
debianuser0000
 
Posts: 6
Joined: 2019-07-19 07:10

Previous

Return to General Questions

Who is online

Users browsing this forum: No registered users and 15 guests

fashionable