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 10-01-2012, 01:41 PM   #346
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309

SlackBuilds for Source Code Pro and Source Sans Pro. I'm going to make them available from Dropbox until they're up on SBo:

Check the .info files for the source download links.

Source Sans Pro is a user-interface font. Source Code Pro is for terminals and text editors. Both are by Adobe.

You can follow their development on Adobe's Tyblography blog.

Last edited by dugan; 10-03-2012 at 11:49 AM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 10-01-2012, 04:01 PM   #347
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,682

Original Poster
Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Quote:
Originally Posted by GNU/Linux View Post
These fonts/rendering really good Daedra, thanks for the screenshots. Is there any other difference between Slacware 13.37 and 14 as far as all that font patching is concerned. Like do we have to recompile Firefox again with cairo enabled or any other finer details that we should be aware of?
No its very easy this time, Just recompile Freetype and Cairo and save the .fonts.conf file in your home directory and your good to go. In fact the newer versions of Cairo don't need to be patched, the only reason we do it with 14 is because its an older version. These patches are very generic compared to infinality and the lcd-filter that dugan provides, I've just used them for years and are happy with the results they give. This is the last release that I will maintain the patches for though, after 14 the patches will be obsolete.

Last edited by Daedra; 10-02-2012 at 02:04 AM.
 
Old 10-01-2012, 09:47 PM   #348
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 294

Rep: Reputation: 39
Thanks dugan, I've waited that for months
 
Old 10-02-2012, 01:34 AM   #349
dsotm
Member
 
Registered: Mar 2012
Distribution: Slackware64-current, Fedora 33
Posts: 90

Rep: Reputation: 2
Thanks so much for your work... my fonts look great again!
 
Old 10-02-2012, 04:02 AM   #350
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 294

Rep: Reputation: 39
Just used the Source (Sans/Source) Pro and it looks great. Just copied the 35-droid.conf sample to create the source pro equivalent but not sure which is the right way, anyway, it works
 
Old 10-02-2012, 02:03 PM   #351
dsotm
Member
 
Registered: Mar 2012
Distribution: Slackware64-current, Fedora 33
Posts: 90

Rep: Reputation: 2
I just noticed that after running this the fonts in konsole look messed up... any idea how to fix this?
Attached Thumbnails
Click image for larger version

Name:	fonts.png
Views:	98
Size:	30.1 KB
ID:	10846  
 
Old 10-02-2012, 02:39 PM   #352
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
I don't know what happened to your Konsole fonts, and I can't reproduce the problem here.

Last edited by dugan; 10-02-2012 at 02:40 PM.
 
Old 10-02-2012, 02:41 PM   #353
dsotm
Member
 
Registered: Mar 2012
Distribution: Slackware64-current, Fedora 33
Posts: 90

Rep: Reputation: 2
Quote:
Originally Posted by dugan View Post
I don't know what happened to your Konsole fonts, and I can't reproduce the problem here.
It's really weird, happened on my desktop and laptop but only in konsole, the other terminals work fine. It's only really bad with the Terminus font, the others just kind of look a little blurry
 
Old 10-02-2012, 02:57 PM   #354
dsotm
Member
 
Registered: Mar 2012
Distribution: Slackware64-current, Fedora 33
Posts: 90

Rep: Reputation: 2
Didn't even realize XFCE's Terminal was this customizable... still weird that konsole got screwed up but at least I've got something equally as functional to fall back on! The Chrome/Firefox fonts were starting to bother me quite a bit!
 
Old 10-03-2012, 03:55 PM   #355
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
I've noticed that my current Fontconfig SlackBuild puts 10-autohint.conf in /etc/fonts/conf.d. I'm not going to change this because the cause is upstream from me, but I would personally remove it after installing Fontconfig.

Last edited by dugan; 10-03-2012 at 03:56 PM.
 
Old 10-03-2012, 04:43 PM   #356
Martinus2u
Member
 
Registered: Apr 2010
Distribution: Slackware
Posts: 497

Rep: Reputation: 119Reputation: 119
just for info, in case you are using a secondlife viewer, you might be aware of fontconfig 2.9.0 crashing the same. I have developed a patch which can be conveniently integrated in Dugan's build. Simply copy it into duganchen-slackware-lcdfilter-77ce07d/fontconfig/files. You also need to add a line to the SlackBuild in the same spot where the other patches are applied.

Reference:
http://www.linuxquestions.org/questi...rs-4175430353/
 
Old 10-03-2012, 11:52 PM   #357
rbeef
LQ Newbie
 
Registered: Oct 2012
Location: Cluj-Napoca
Distribution: Slackware, OpenBSD
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by Daedra View Post
Here are the patches I use for 14, these patches are based off the old cleartype patches written by David Turner of Freetype. These patches are almost obsolete because most the code has now been merged upstream. We still need to patch freetype and cairo, but the libXft patch is no longer needed. Truth is this is the last release I will maintain these patches for since the patches won't needed in the very near future.

Freetype
Cairo

Config File (Copy this code and save it in your home directory as .fonts.conf)

Before
After
This is just awesome, Slackware got a lot prettier, without getting me frustrated about the fonts. Thank you.
 
Old 10-04-2012, 02:21 AM   #358
SqdnGuns
Senior Member
 
Registered: Aug 2005
Location: Pensacola, FL
Distribution: Slackware64® Current & Arch
Posts: 1,092

Rep: Reputation: 174Reputation: 174
Thumbs up

Quote:
Originally Posted by Daedra View Post
Here are the patches I use for 14, these patches are based off the old cleartype patches written by David Turner of Freetype. These patches are almost obsolete because most the code has now been merged upstream. We still need to patch freetype and cairo, but the libXft patch is no longer needed. Truth is this is the last release I will maintain these patches for since the patches won't be needed in the very near future.

Freetype
Cairo

Config File (Copy this code and save it in your home directory as .fonts.conf)

Before
After
Thanks!
 
Old 10-04-2012, 04:06 AM   #359
D1ver
Member
 
Registered: Jan 2010
Distribution: Slackware 13.37
Posts: 598
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
I've followed Daedra's post and patched Cairo and Freetype, adding the config file. I installed Source Code pro and Source sans and set up KDE and Terminal to use the fonts.

Can someone explain to me like I'm five, what these steps are doing? Things look pretty good now, but some things seem a bit fuzzy/blurry. Is this normal? I've attached a screenshot to try to help demonstrate what I mean..


I. Using 10pt source code pro the bold 'm's in message seem to run together a bit

II. Smaller fonts in the menus and stuff look a bit funny? Or is it just me. Is it reasonable to use Source Sans as an 8pt font in kde settings?

Edit:
I set KDE to force anti-aliasing and set hinting to slight and things look a bit better now. Why do I always make progress after asking for help? :P
Attached Thumbnails
Click image for larger version

Name:	fonts.png
Views:	75
Size:	208.5 KB
ID:	10865  

Last edited by D1ver; 10-04-2012 at 04:15 AM.
 
Old 10-04-2012, 04:36 AM   #360
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,682

Original Poster
Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
http://en.wikipedia.org/wiki/Subpixel_rendering

Basically the patches just enable the subpixel rendering feature that is built into freetype, it is disabled in the stock Slackware package because its patented code by Microsoft so your only really supposed to enable it if you have a license to do so. An end user doesn't really have to worry about this but someone like Pat who owns the distribution and does sell it can get into trouble for enabling it. The other patches just add various improvements to the quality. The patches Dugan provide are a lot more robust and allow for more customizations for those who really want to tweak their settings.

I also noticed fuzzy looking fonts in the KDE panel and plasma and its because for some reason subpixel rendering is not working for plamsa. See for your self, if your using kwin desktop effects you can zoom in on a section of the screen by selecting <windows key - +> click on the panel and zoom in and you will see, then zoom in on firefox you should see color tinging on the fonts, which is correct. I am currently trying to find a fix for this.

You can see what I am talking about in your screenshot. Zoom in on any text on the kde panel then zoom in on text anywhere else. See the difference?

Last edited by Daedra; 10-04-2012 at 04:44 AM.
 
  


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
If I were to recompile & arch-optimize Slackware, where to begin? GrapefruiTgirl Slackware 124 06-22-2007 09:46 PM
How to Optimize Slackware 10.2? zeroz52 Slackware 23 10-04-2005 06:42 PM
How to fully optimize Slackware? Introx Slackware 4 05-30-2004 04:23 AM

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

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