LinuxQuestions.org
Review your favorite Linux distribution.
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-16-2015, 05:06 PM   #16
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 820

Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440

Another think to check is your dpi, changing that made my fonts look even better. I usually use 96. You can check your with xdpyinfo | grep dots.
 
Old 09-17-2015, 03:11 PM   #17
tomtomjkw
Member
 
Registered: Jan 2008
Distribution: Slackware64-current
Posts: 154

Rep: Reputation: 43
Quote:
Originally Posted by gezley View Post
I'm just now trying to discern whether it has made a difference: LQ seems a little better but at BBC News the fonts are very unevenly-spaced.
You might try installing webcore-fonts and see if it helps with particular webpages.
 
Old 09-18-2015, 01:26 PM   #18
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,184

Original Poster
Rep: Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765
Quote:
Originally Posted by tomtomjkw View Post
You might try installing webcore-fonts and see if it helps with particular webpages.
Sorry for late reply - limited internet access at the moment!

@ bindestreck
yes I always use 96 dpi, slight hinting and RGB.

@ tomtom
Yes webcore-fonts certainly did improve webpages. I think Liberation Sans 8 is the best font for UI elements (menu, button, status bar, and so on), at least to my eyes, but I just can't seem to hit upon the right formula for LibreOffice, Gimp and Firefox. Perhaps Firefox and LibreOffice have their own internal font rendering mechanism just to throw a spanner in the works?

I'm more or less resigned to the difference now; wasted too much time on this already and after a few hours it's hard to tell any more because your eyes are so weary trying out all the changes. At least QtCurve narrows the gap between KDE and GTK-2 in every other area; just a shame "The Devs Who Know Better Than Everyone Else" decided to throw yet another spanner in the works with their GTK-3 abomination, which promises to widen the gap again, and by all accounts has made it difficult for every other dev out there trying to keep up. (Who on earth are they working for anyhow?)

Thanks all.

Last edited by Gerard Lally; 09-18-2015 at 02:26 PM.
 
Old 09-18-2015, 02:45 PM   #19
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,006
Blog Entries: 26

Rep: Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522
Quote:
Originally Posted by gezley View Post
I'm more or less resigned to the difference now; wasted too much time on this already and after a few hours it's hard to tell any more because your eyes are so weary trying out all the changes. At least QtCurve narrows the gap between KDE and GTK-2 in every other area; just a shame "The Devs Who Know Better Than Everyone Else" decided to throw yet another spanner in the works with their GTK-3 abomination, which promises to widen the gap again, and by all accounts has made it difficult for every other dev out there trying to keep up. (Who on earth are they working for anyhow?)

Thanks all.
Not like QT is any better with QT5 than GTK land is with GTK3.
 
Old 09-18-2015, 03:21 PM   #20
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,184

Original Poster
Rep: Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765
Quote:
Originally Posted by Timothy Miller View Post
Not like QT is any better with QT5 than GTK land is with GTK3.
That's true. I really need to get my fvwm config finished and sod the rest!
 
Old 09-18-2015, 11:37 PM   #21
tomtomjkw
Member
 
Registered: Jan 2008
Distribution: Slackware64-current
Posts: 154

Rep: Reputation: 43
Talking

Quote:
Originally Posted by gezley View Post

I'm more or less resigned to the difference now; wasted too much time on this already
If by "too much time" you mean "five years and counting", your experience is similar to mine
Your thread forced me to review my font settings and now I'm pretty scared that some day it might stop working because it's such a non-repeatable mess that just happens to look ok. That's the reason I can give you some isolated hints in no specific order, but with no guarantee of positive result.

You might install Droid font;
you might comment out font settings in .Xresources;
you might recompile freetype with subpixel rendering enabled, but now I recall that sometime this year there was an update of freetype in current and it didn't screw up my fonts for a change;
Finally you might post the content of your /etc/fonts/conf.d directory and your /etc/fonts/local.conf.

In the end, someone might finally write comprehensive font guide for slackdocs
 
Old 09-19-2015, 03:08 AM   #22
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
gezley,

why don't you try putting fonts hinting to 'full'? When I tweaked KDE and GTK settings, fonts looked like this:

https://slackalaxy.files.wordpress.c...snapshot51.png

Comparing QT4 and GTK2/3 applications, their fonts appeared consistent enough to me.

Last edited by solarfields; 09-19-2015 at 03:12 AM.
 
Old 09-19-2015, 03:41 PM   #23
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,184

Original Poster
Rep: Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765
Quote:
Originally Posted by tomtomjkw View Post
In the end, someone might finally write comprehensive font guide for slackdocs
That would be great! I now find that certain web pages in Firefox have boxes where fonts should be! Great! Now what!?

Here's what I have done so far:

1) linked (ln -s) 10-autohint.conf and 10-sub-pixel-rgb.conf from /etc/fonts/conf.avail/ to /etc/fonts/conf.d/ but removed those links as advised by dugan;

2) removed 60-liberation.conf from /etc/fonts/conf.d/ (necessary for next step); otherwise the contents of this directory are as they were with a full install of -current;

3) added the following to /etc/fonts/local.conf, as per slackbuilds instructions for webcore-fonts:
Code:
<!-- Globally use embedded bitmaps in fonts like Calibri? -->
<match target="font" >
<edit name="embeddedbitmap" mode="assign">
<bool>false</bool>
</edit>
</match>
;
4) installed webcore-fonts from slackbuilds;
5) took the "Microsoft Solution" - 3 Hail Marys and rebooted.

Now I'm stuck with fonts looking magnificent in KDE and KDE apps; inferior but just about acceptable in GTK apps; and completely absent in certain web pages, where they are replaced by boxes.

I really don't want to fight these battles with my computer in 2015; once upon a time I was happy to do so but now I have so many other battles to fight. Is it completely beyond Red Hat, Suse, Google, Canonical and all the other self-appointed hijackers of Linux to knock their heads together and come up with an integrated desktop that satisfies all users - a desktop that can be as full-featured as KDE or as bare (and useless) as Unity and Gnome 3? But that would be too mundane for them; they'd far rather create stupid new problems than chip away at and finally solve these old, infuriating issues still plaguing us in 2015.


Last edited by Gerard Lally; 09-19-2015 at 03:48 PM.
 
Old 09-19-2015, 03:56 PM   #24
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,184

Original Poster
Rep: Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765
Quote:
Originally Posted by solarfields View Post
gezley,

why don't you try putting fonts hinting to 'full'? When I tweaked KDE and GTK settings, fonts looked like this:

https://slackalaxy.files.wordpress.c...snapshot51.png

Comparing QT4 and GTK2/3 applications, their fonts appeared consistent enough to me.
Full and medium hinting makes fonts dreadful Petar. (Nice desktop by the way. What theme do you use for your panel?)

Last edited by Gerard Lally; 09-20-2015 at 05:17 AM.
 
Old 09-19-2015, 04:18 PM   #25
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,184

Original Poster
Rep: Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765
Quote:
Originally Posted by tomtomjkw View Post
If by "too much time" you mean "five years and counting", your experience is similar to mine
Your thread forced me to review my font settings and now I'm pretty scared that some day it might stop working because it's such a non-repeatable mess that just happens to look ok.
I wouldn't be too apprehensive about the future. Things have certainly improved an awful lot since I started using Debian and SuSE around the turn of the century. What really annoys me though is the way, over the past few years, the "Big Players", the self-appointed corporate hijackers of Linux, the self-appointed guardians of the direction it's heading in, continually choose to create new problems rather than solve these old, boring, mundane problems. They'd far rather cripple their "enterprise products" with some stupid beta-quality hack put together by their very own junior programmers as long as the buzzwords and media circus around this newfangled and over-engineered hack keep them on the front pages. And, worse, they adopt the old strategy of divide and conquer, so that the best developers end up opting out completely, tired of fighting battles these corporate bullies with their huge teams of junior programmers are going to win anyway.
 
Old 09-20-2015, 04:22 AM   #26
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Quote:
Full and medium hinting make fonts dreadful
well, that's what I am used to...

Quote:
What theme do you use for your panel?
I do not remember anymore, since I gave up on KDE soon after I took that screenshot. It was some theme that comes with KDE by default.
 
Old 09-20-2015, 10:25 AM   #27
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 gezley View Post
Full and medium hinting makes fonts dreadful
My opinion too. But objectively...

Slight hinting looks like OS X
Full hinting looks like Windows
Medium hinting is its own thing
 
Old 09-20-2015, 01:02 PM   #28
tomtomjkw
Member
 
Registered: Jan 2008
Distribution: Slackware64-current
Posts: 154

Rep: Reputation: 43
Quote:
Originally Posted by gezley View Post
That would be great! I now find that certain web pages in Firefox have boxes where fonts should be! Great! Now what!?
It depends on how do you feel about those boxes; if you perceive them sharp and cute, leave them be and translate on the fly. Further changes might give you the same boxes instead of letters, but distorted and out of focus

Seriously: you installed webcore fonts, so probably you now have 35-webcore-fonts in /etc/fonts/conf.d and that file tells your Firefox to use fonts such as Times New Roman and Arial, which you probably don't have but every Windows has, so just copy them and report back. Should be fine, I suppose.
 
Old 09-20-2015, 03:56 PM   #29
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,184

Original Poster
Rep: Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765
Quote:
Originally Posted by tomtomjkw View Post
Seriously: you installed webcore fonts, so probably you now have 35-webcore-fonts in /etc/fonts/conf.d and that file tells your Firefox to use fonts such as Times New Roman and Arial, which you probably don't have but every Windows has, so just copy them and report back.
Wrong on all counts! ls -R /etc/fonts/ | grep webcore returns nothing; and both Times and Arial, along with other MS fonts, do indeed exist in /usr/share/fonts, presumably placed there by the webcore Slackbuild because I didn't put them there.

The slightly inferior font rendering in GTK apps under KDE I can live with, but the missing fonts problem in Firefox (see attached) is turning out to be a real pain. I have a full install of 64-bit current, with very few modifications, all of them from Slackbuilds.
Click image for larger version

Name:	snapshot1.png
Views:	39
Size:	65.7 KB
ID:	19630
 
Old 09-20-2015, 11:28 PM   #30
tomtomjkw
Member
 
Registered: Jan 2008
Distribution: Slackware64-current
Posts: 154

Rep: Reputation: 43
Here you are, 35-webcore-fonts.conf:
Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
	<alias>
		<family>serif</family>
		<prefer>
			<family>Times New Roman</family>
		</prefer>
	</alias>
	<alias>
		<family>sans-serif</family>
		<prefer>
			<family>Arial</family>
		</prefer>
	</alias>
	<alias>
		<family>monospace</family>
		<prefer>
			<family>Courier New</family>
		</prefer>
	</alias>
</fontconfig>
How did you install webcore-fonts, from sbopkg?
 
  


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
GTK Fonts problem under KDE 3.5 kolombo Linux - Desktop 2 10-21-2010 03:00 PM
How to have nicer fonts and gtk colors (no gnome, no kde) frenchn00b Linux - Desktop 5 02-13-2008 02:50 PM
Changing GTK Styles and Fonts in KDE xbennyboy SUSE / openSUSE 16 02-16-2007 05:46 PM
GTK 1 apps Fonts problems on KDE tpe SUSE / openSUSE 0 05-11-2005 12:41 PM
How to set Gtk fonts apps running on KDE ? nooky59 Mandriva 3 04-09-2004 09:12 AM

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

All times are GMT -5. The time now is 12:18 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