LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices



Reply
 
Search this Thread
Old 11-14-2007, 08:52 PM   #1
eraosso
Member
 
Registered: May 2006
Location: Brazil
Distribution: Slackware 13.37
Posts: 35

Rep: Reputation: 15
Problem with improving font rendering in Slack12


I am trying to configure and improve my Slack12 box as much as I can and the visual aspect is definitely part of it.
I was looking at the following thread http://www.linuxquestions.org/questi...in-kde-597830/
and somehow I ended up in the Slackware wiki:
http://slackwiki.org/LCD_Monitor_Con....27Hard.27_Way
following the instructions on item 5.2.3, it tells you to replace the old freetype package with the new one just built.

Simple (and dumb) question is: how do I do it??
I uninstalled the original package with Kpackage and now I cannot install neither of them.

Any help?
Thanks!
 
Old 11-15-2007, 02:10 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Here are the steps to rebuild freetype with the bytecode interpreter and sub-pixel hinting enabled:

From the Slackware source (../slackware-12.0/source/l/freetype/) get all those files and put them in one directory.

Then you can edit "freetype.SlackBuild" and uncomment (remove the # from in front of) line 50:
Code:
#zcat $CWD/freetype.bytecode.interpreter.diff.gz | patch -p1 --verbose || exit 1
and also uncomment line 57:
Code:
#zcat $CWD/freetype.subpixel.rendering.diff.gz | patch -p1 --verbose || exit 1
and also give it a different version number in line 7, where the file says:
Code:
BUILD=${BUILD:-3}
give it another number, such as 4. Now save the file and run as root:
Code:
sh freetype.SlackBuild --cleanup
which will build a new freetype package with the bytecode interpreter enabled, and sub-pixel hinting.

NB: You can get the latest source and rebuild FreeType yourself if you prefer, but IMO a Slackware package built with an official Slackware SlackBuild script is best; so even if you elect to use the latest freetype source, use the Slackware SlackBuild.

After it's built, you can look in /tmp/ for the new Slackpackage and install it with:
Code:
upgradepkg <packagename>
since you should already have freetype installed. It would be something like:
Code:
upgradepkg /tmp/freetype-2.3.4-i486-4.tgz
If you previously removed freetype with the command "removepkg" then you'll need to install the new Slackpack with "installpkg /tmp/freetype-2.3.4-i486-4.tgz"

Last edited by Bruce Hill; 11-15-2007 at 04:18 PM. Reason: sans pkg link
 
Old 11-15-2007, 01:47 PM   #3
eraosso
Member
 
Registered: May 2006
Location: Brazil
Distribution: Slackware 13.37
Posts: 35

Original Poster
Rep: Reputation: 15
Hey Bruce,
thanks a lot for your support! I downloaded the freetype package and rebuilt it myself and followed your instructions!

Thanks again!
 
Old 11-17-2007, 01:13 AM   #4
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,945

Rep: Reputation: Disabled
Well, perhaps I'm being a bit idealistic, but I find that the stock freetype package and use of the DejaVu fonts is more than adequate - very easy on the eyes...
 
Old 11-19-2007, 08:44 PM   #5
eraosso
Member
 
Registered: May 2006
Location: Brazil
Distribution: Slackware 13.37
Posts: 35

Original Poster
Rep: Reputation: 15
Unhappy

Hey Robby,
I've been playing a lot with Slackware these days and doing most of my private stuff with it.
During setting up process and through a lot of reading, I felt that a lot of time in front of the screen was a bit hard on the eyes, specially a few websites I stumbled upon.

Perhaps this could simply be my eyes "used" to Redmond style since I am stuck with it for working purposes...
 
Old 11-19-2007, 09:35 PM   #6
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,945

Rep: Reputation: Disabled
Quote:
Originally Posted by eraosso View Post
Hey Robby,
I've been playing a lot with Slackware these days and doing most of my private stuff with it.
During setting up process and through a lot of reading, I felt that a lot of time in front of the screen was a bit hard on the eyes, specially a few websites I stumbled upon.

Perhaps this could simply be my eyes "used" to Redmond style since I am stuck with it for working purposes...
Well, that's fair. I think font "quality" and such is largely dependent upon the person doing the looking :-)
 
  


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
Improving font readability in Firefox and Opera in KDE aldonova Linux - Newbie 4 08-26-2009 04:20 PM
Improving font readability in Firefox and Opera in KDE aldonova Linux - Software 1 11-07-2007 04:25 PM
Font problems for QT/Slack12 alvlin Slackware 4 08-26-2007 02:59 AM
font rendering problem varaahan Linux - Newbie 0 06-05-2006 11:38 AM


All times are GMT -5. The time now is 06:38 AM.

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