LinuxQuestions.org
Help answer threads with 0 replies.
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
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,572

Rep: Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394

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.
 
Old 10-01-2012, 04:01 PM   #347
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,216

Original Poster
Rep: Reputation: 177Reputation: 177
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: 292

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

Rep: Reputation: Disabled
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: 292

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
J1NKL3
Member
 
Registered: Mar 2012
Distribution: Slackware64-current
Posts: 77

Rep: Reputation: Disabled
I just noticed that after running this the fonts in konsole look messed up... any idea how to fix this?
Attached Images
File Type: png fonts.png (30.1 KB, 87 views)
 
Old 10-02-2012, 02:39 PM   #352
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,572

Rep: Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394
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
J1NKL3
Member
 
Registered: Mar 2012
Distribution: Slackware64-current
Posts: 77

Rep: Reputation: Disabled
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
J1NKL3
Member
 
Registered: Mar 2012
Distribution: Slackware64-current
Posts: 77

Rep: Reputation: Disabled
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
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,572

Rep: Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394
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: 343

Rep: Reputation: 56
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
Member
 
Registered: Aug 2005
Location: Fountain Valley, CA / Thailand
Distribution: Slackware64 14.0
Posts: 981

Rep: Reputation: 88
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: 527
Blog Entries: 3

Rep: Reputation: 126Reputation: 126
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 Images
File Type: png fonts.png (208.5 KB, 59 views)

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-14.1
Posts: 1,216

Original Poster
Rep: Reputation: 177Reputation: 177
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 04:52 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration