Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-17-2010, 01:12 PM
|
#1
|
|
Member
Registered: Jun 2006
Location: Birmingham, AL
Distribution: Slackware64-13.1, 12.1
Posts: 117
Rep:
|
font issues on slackware64-current
I've installed slackware64-current from a 1/31/10 iso created by Eric's mirror-slackware-current script and my rsync mirror. I'm having a lot of problems getting fonts to look readable. Firefox looks particularly bad both in the UI and rendering fonts inside pages themselves. Black on white text has a lot of red/orange and blue fringing that reminds me of the Apple II from 30 years ago.
I've recompiled freetype with all three patches from the -current slackbuild. I've got anti-aliasing enabled in KDE with no exclusions and RGB hinting. I've tried slight, medium, and full and can't tell much difference among them. I didn't notice much improvement from the base install to after I rebuilt freetype.
I've tried following Dugan Chen's guide under "Rebuilding your font rendering subsystem" but can't even get past the freetype re-compile using his slackbuild and the 2.3.11 sources. I thought this might be a -current vs. stable 13.0 issue, or possibly differences between the 2.3.9 freetype in current and the 2.3.11 that Dugan suggests. The configure step seems to work okay, but make stops at target "unix".
Other details - I have an ATI Radeon HD4670 and I'm using the radeonhd open source driver. I haven't used the closed source fglrx driver yet because it appears to require multilib and I haven't set it up yet. I'm using a 17" LCD monitor at 1280x1024 also.
Any suggestions? Anyone used Dugan's freetype-2.3.11 slackbuild on current? Would the fglrx driver help?
|
|
|
|
02-17-2010, 01:34 PM
|
#2
|
|
Member
Registered: Jul 2007
Distribution: Slackware Linux
Posts: 485
Rep: 
|
EDIT: Wrong thread.
Last edited by rg3; 02-17-2010 at 01:36 PM.
|
|
|
|
02-17-2010, 02:29 PM
|
#3
|
|
Senior Member
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 3,669
|
Can you post the error message in the compile output?
And if it says something like "see this file for more details," then can you post the relevant parts from that file as well?
Last edited by dugan; 02-17-2010 at 02:30 PM.
|
|
|
|
02-17-2010, 03:05 PM
|
#4
|
|
Member
Registered: Jun 2006
Location: Birmingham, AL
Distribution: Slackware64-13.1, 12.1
Posts: 117
Original Poster
Rep:
|
I'm away from my slackware box right now, but I'll post the actual error this evening. IIRC, it was "make: nothing to do for target `unix'", but I'll verify and post some output. Thanks for checking in on this, Dugan.
|
|
|
|
02-17-2010, 05:41 PM
|
#5
|
|
Member
Registered: Dec 2009
Distribution: SLACKWARE
Posts: 141
Rep:
|
Quote:
|
Black on white text has a lot of red/orange and blue fringing that reminds me of the Apple II from 30 years ago.
|
Come on, that was nice, wasn't it? (Sorry for the joke; Apple ][ was my all-time favourite PC)
Best wishes!
|
|
|
|
02-17-2010, 06:14 PM
|
#6
|
|
Member
Registered: Jun 2006
Location: Birmingham, AL
Distribution: Slackware64-13.1, 12.1
Posts: 117
Original Poster
Rep:
|
Heh heh, sorry Gauchao - I was a Commodore64 man. Er, kid.
Dugan -
Two mistakes on my part:
1. I gave the wrong error message earlier. It was:
Code:
checking build system type... i486-slackware-linux-gnu
checking host system type... i486-slackware-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/tmp/SBo/freetype-2.3.11/builds/unix':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [setup] Error 77
I hadn't noticed the config.log message earlier - I found it and discovered:
Code:
configure:2539: gcc -O2 -march=i486 -mtune=i686 conftest.c >&5
conftest.c:1: error: CPU you selected does not support x86-64 instruction set
Which made me realize mistake #2: I used your Slackbuild as-is and forgot to change the ARCH to x86_64. This is my first 64-bit x86 machine and I'm not in the habit of watching for those differences yet.
After changing the ARCH, it built fine and installed. I need to restart X and continue building your other packages so I'll give an update later.
|
|
|
|
02-17-2010, 06:36 PM
|
#7
|
|
Senior Member
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
|
Quote:
|
Which made me realize mistake #2: I used your Slackbuild as-is and forgot to change the ARCH to x86_64. This is my first 64-bit x86 machine and I'm not in the habit of watching for those differences yet
|
I just set this line in /etc/profile so I always have that covered :
Code:
export ARCH="x86_64"
Saves you remembering to check when compiling anything.
|
|
|
|
02-17-2010, 09:56 PM
|
#8
|
|
Member
Registered: Jun 2006
Location: Birmingham, AL
Distribution: Slackware64-13.1, 12.1
Posts: 117
Original Poster
Rep:
|
Okay, all done. Dugan, all of the packages built and installed just fine on -current. I installed the webcore package and the Droid fonts and it made a huge improvement. I've still got a lot of tweaking to do. I had everything looking good and then I started fiddling with the font settings in Firefox. I've now got things a little smaller than I can comfortably read. But, I think the backend rendering is working very well. Thanks for your packaging efforts. That was very easy to set up.
Also thanks for the tip about putting ARCH in /etc/profile, bgeddy. That will probably save me some headaches as I finish setting up my new rig.
|
|
|
|
02-18-2010, 06:59 AM
|
#9
|
|
Member
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 409
Rep:
|
@Dugan Chen
I found something wrong with your freetype.SlackBuild, in about line 80:
Code:
80 if [ $USE = "ubuntu" ]; then
81 echo -e "\033[1mApplying Cleartype patches...\033[0m"
82 patch -p1 < "${FILESDIR}"/${P}-ubuntu.patch
83 echo -e "\033[1mAll Cleartype patches applied\033[0m"
84 fi
Why apply "Cleartype" patches when use "ubuntu"?  Ok, it's all about messages and is trivial.
And 10-no-sub-pixel.conf is in /etc/fonts/conf.avail rather than /etc/fonts/conf.d
Last edited by grissiom; 02-18-2010 at 07:07 AM.
|
|
|
|
02-18-2010, 09:16 AM
|
#10
|
|
Senior Member
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 3,669
|
Quote:
Originally Posted by grissiom
@Dugan Chen
I found something wrong with your freetype.SlackBuild, in about line 80:
Code:
80 if [ $USE = "ubuntu" ]; then
81 echo -e "\033[1mApplying Cleartype patches...\033[0m"
82 patch -p1 < "${FILESDIR}"/${P}-ubuntu.patch
83 echo -e "\033[1mAll Cleartype patches applied\033[0m"
84 fi
Why apply "Cleartype" patches when use "ubuntu"?  Ok, it's all about messages and is trivial.
|
I did notice that about a month ago, but forgot to post the fixed version. Thanks for reminding me.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:03 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|