LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-19-2017, 11:50 AM   #16
andygoth
Member
 
Registered: Sep 2017
Distribution: Slackware
Posts: 132

Rep: Reputation: 66

Quote:
Originally Posted by ponce View Post
here I'm using the new renderer and things seem to look fine
Code:
$ set | grep FREETYPE
FREETYPE_PROPERTIES=truetype:interpreter-version=40
I tried this, and the problem is not resolved, though it is slightly changed.

On the left is the screenshot I posted before. On the right is a new screenshot with Ponce's change in place:

https://andy.junkdrome.org/forum/badfont-2.png

As you can see, the "P" is worse, but the "N" is better. I think the hinting engine is not the issue, but rather the bounding box, which makes sense given my quick reading the patch that's been linked in this thread.
 
Old 09-19-2017, 11:56 AM   #17
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,114

Rep: Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186
you can try playing with your ~/.config/gtk-3.0/settings.ini (after changing it you have to restart your gtk+3 applications): in mine I got
Code:
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=none
and firefox has perfect fonts.

Last edited by ponce; 09-19-2017 at 11:58 AM.
 
1 members found this post helpful.
Old 09-19-2017, 12:08 PM   #18
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,114

Rep: Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186
BTW, I had a look around too to the bug pointed by gmgf and it linked to https://bugzilla.mozilla.org/show_bug.cgi?id=1400721: I agree with him the harmony-fix.diff should be the one to apply.

Last edited by ponce; 09-19-2017 at 12:33 PM.
 
Old 09-19-2017, 12:18 PM   #19
andygoth
Member
 
Registered: Sep 2017
Distribution: Slackware
Posts: 132

Rep: Reputation: 66
Quote:
Originally Posted by ponce View Post
you can try playing with your ~/.config/gtk-3.0/settings.ini (after changing it you have to restart your gtk+3 applications): in mine I got
Code:
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=none
and firefox has perfect fonts.
This still doesn't fix it for me. I created this file then restarted X and Firefox, still see the problems I had before. I tried with and without the previously-discussed changes to /etc/profile.d/freetype.sh.
 
Old 09-19-2017, 12:47 PM   #20
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,229

Rep: Reputation: 1018Reputation: 1018Reputation: 1018Reputation: 1018Reputation: 1018Reputation: 1018Reputation: 1018Reputation: 1018
Quote:
Originally Posted by ponce View Post
BTW, I had a look around too to the bug pointed by gmgf and it linked to https://bugzilla.mozilla.org/show_bug.cgi?id=1400721: I agree with him the harmony-fix.diff should be the one to apply.
it hurts the eyes, I have to clean my glasses now
 
Old 09-19-2017, 03:35 PM   #21
gildbg
Member
 
Registered: Aug 2017
Distribution: Slackware, OpenBSD
Posts: 164

Original Poster
Rep: Reputation: Disabled
It's not only the firefox. Problem also exists in thunderbirtd too. My KDE Terminal font, I use sourcecode pro, letters become a little fat.
 
Old 09-19-2017, 03:44 PM   #22
brodo
Member
 
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current 32 / 64
Posts: 406

Rep: Reputation: 30
I downgraded freetype from latest current to previous version. It should help.
 
Old 09-19-2017, 04:15 PM   #23
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,695

Rep: Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380
Ponce already mentioned this, but if you read the mailing lists, these problem are caused by freetype's new subpixel rendering technique called harmony. Programs using the skia graphics library (firefox for example) are affected. Most programs have fixes upstream, so we will just have to wait for newer versions to come out or downgrade to freetype 2.8

Last edited by Daedra; 09-19-2017 at 05:44 PM.
 
1 members found this post helpful.
Old 09-19-2017, 11:15 PM   #24
andygoth
Member
 
Registered: Sep 2017
Distribution: Slackware
Posts: 132

Rep: Reputation: 66
Slackware-current downgraded from freetype-2.8.1-x86_64-1 to freetype-2.8-x86_64-1. This avoids the issue for now. It's working fine for me. Thanks for the quick response; the bad text was driving me nuts!
 
Old 09-20-2017, 01:05 AM   #25
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,242

Rep: Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322
Quote:
Originally Posted by dugan View Post
After I set it, I launch xfce from sddm (from ktown), I launch a terminal, and check whether it's set. It's not. I'm going to try to check why not later tonight.
As for this...

It's because I'm using FISH, and FISH doesn't source /etc/profile or /etc/profile.d.

I ended up putting the following in /etc/fish/config.fish:

Code:
source /etc/profile.d/freetype.csh
 
Old 09-20-2017, 06:42 PM   #26
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 934

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
The downgrade worked it was really bad in Firefox and Thunderbird.
Attached Thumbnails
Click image for larger version

Name:	bad-fonts-firefox.jpg
Views:	103
Size:	159.2 KB
ID:	25922   Click image for larger version

Name:	bad-fonts-firefox-fixed-:).jpg
Views:	85
Size:	161.0 KB
ID:	25923  
 
Old 09-20-2017, 09:18 PM   #27
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,011

Rep: Reputation: Disabled
interesting, I do not have font problems in firefox or thunderbird with freetype-2.8.1

probably just luck
Attached Thumbnails
Click image for larger version

Name:	freetype.png
Views:	23
Size:	17.3 KB
ID:	25926   Click image for larger version

Name:	my fonts in ff.png
Views:	42
Size:	12.9 KB
ID:	25927  
 
Old 09-20-2017, 09:29 PM   #28
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,695

Rep: Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380
Quote:
Originally Posted by Aeterna View Post
interesting, I do not have font problems in firefox or thunderbird with freetype-2.8.1

probably just luck
The problems occurs when using subpixel rendering, if you are not using it, then 2.8.1 should work fine.
 
Old 09-20-2017, 09:41 PM   #29
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,011

Rep: Reputation: Disabled
Quote:
Originally Posted by Daedra View Post
The problems occurs when using subpixel rendering, if you are not using it, then 2.8.1 should work fine.
I have set
Use anti-aliasing: Enabled
sub-pixel rendering type: RGB
Hinting style: Slight
 
Old 09-20-2017, 09:51 PM   #30
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,695

Rep: Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380
Quote:
Originally Posted by Aeterna View Post
I have set
Use anti-aliasing: Enabled
sub-pixel rendering type: RGB
Hinting style: Slight
Are you using Xfce? I was able to bypass the problem by using those settings also, but if recompile the freetype source with subpixel rendering then the problem occurred. Also the problem occurred for me in Mate regardless of my compile options. If you read the mailing list it sheds more light on exactly what the cause is. I am just glossing over the details.

Last edited by Daedra; 09-20-2017 at 10:07 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Xorg problem after upgrade in CURRENT x86_64 phoemur Slackware 99 10-13-2015 06:59 AM
[SOLVED] Current: Problem with Cisco anyconnect/pango (fonts) vbisis Slackware 2 02-06-2013 02:02 PM
upgrade slack-current with slackpkg, problem with Xorg specialized Slackware 24 07-07-2009 02:32 PM
Problem with evdev and full screen opengl game after upgrade to current dive Slackware 2 02-02-2008 07:43 AM
xfce flickering problem after 2006-02-10 slack-current upgrade firebird Slackware 2 04-08-2006 07:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration