LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-13-2010, 04:57 PM   #166
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

ACTUALLY, the missing files were a bug in the Fontconfig SlackBuild. I fixed it. They're there now.

Everything should now work as before.

Last edited by dugan; 06-13-2010 at 05:03 PM.
 
1 members found this post helpful.
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 06-14-2010, 09:05 PM   #167
rmjohnso
Member
 
Registered: Mar 2006
Location: Wisconsin
Distribution: Slackware64-Current
Posts: 294

Rep: Reputation: 43
Quote:
Originally Posted by dugan View Post
ACTUALLY, the missing files were a bug in the Fontconfig SlackBuild. I fixed it. They're there now.

Everything should now work as before.
dugan, can you post a list of links that you have in your /etc/fonts/conf.d directory?
 
Old 06-14-2010, 09:32 PM   #168
Thursapr
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 44

Rep: Reputation: 18
dugan, it would be nice if you also provide the patches for older slackware (12.x, 13.0). Maybe a tree of folders?
 
Old 06-14-2010, 10:25 PM   #169
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
The patched versions of Freetype, Fontconfig, LibXft and Cairo will work in older Slackware.
 
Old 06-26-2010, 03:53 PM   #170
sljunkie
Member
 
Registered: Nov 2008
Location: Brazil
Distribution: Manjaro
Posts: 105

Rep: Reputation: 18
Hey Dugan,

Thank you very much for providing those packages, I used to recompile freetype with the 'problem' code enabled, but with the extra patches everything looks even better - even though I think that recompiling only freetype and fontconfig work just fine for my tastes

But regarding your posted conf.d dir, I find that I'm missing the 52-languageselector.conf file, what's its contents and where does it get installed from?
 
Old 06-26-2010, 04:00 PM   #171
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
Hmm... I don't seem to have the 52-languageselector.conf file anymore either. I've edited post #125 accordingly.

Last edited by dugan; 06-26-2010 at 07:19 PM.
 
Old 08-20-2010, 01:29 AM   #172
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 just updated the "Optimizing Slackware Linux's Fonts" page. Among the changes are:
  • a better way of setting your X DPI (the same on recommended here)
  • a better source for the Android fonts (you get them from Google now)
  • a way to get the fonts in Java apps to look good, rather than hideous (from the Arch wiki)

It also has a new design that doesn't use Microsoft fonts .

Last edited by dugan; 08-20-2010 at 01:31 AM.
 
3 members found this post helpful.
Old 08-20-2010, 01:53 AM   #173
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
Nice
 
Old 08-20-2010, 07:43 AM   #174
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Very nice!

Quote:
Originally Posted by dugan View Post
I just updated the "Optimizing Slackware Linux's Fonts" page. Among the changes are:
  • a better way of setting your X DPI (the same on recommended here)
  • a better source for the Android fonts (you get them from Google now)
  • a way to get the fonts in Java apps to look good, rather than hideous (from the Arch wiki)

It also has a new design that doesn't use Microsoft fonts .
 
Old 11-15-2010, 10:27 AM   #175
tomtomjkw
Member
 
Registered: Jan 2008
Distribution: Slackware64-current
Posts: 154

Rep: Reputation: 43
Hi,

Just upgraded to newest -current, cairo and freetype included. Obvious result - firefox and thunderbird look awful now. Unfortunately I couldn't find subpixel rendering patches for cairo 1.10 and freetype 2.4.3 that would fit Dugan's slackbuilds. If anybody got it going, I would be grateful.
 
Old 11-15-2010, 11:53 AM   #176
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by dugan View Post
I just updated the "Optimizing Slackware Linux's Fonts" page.
Thanks -- there's a new task for my TODO list

BTW there's a typo on the displayed link for rxvt-unicode which appears as rxt-unicode.
 
Old 11-15-2010, 05:43 PM   #177
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,896

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
Quote:
Originally Posted by tomtomjkw View Post
Hi,

Just upgraded to newest -current, cairo and freetype included. Obvious result - firefox and thunderbird look awful now. Unfortunately I couldn't find subpixel rendering patches for cairo 1.10 and freetype 2.4.3 that would fit Dugan's slackbuilds. If anybody got it going, I would be grateful.
Have to agree. The latest 'current' font rendering looks awful here too. I've always been happy with slackware stock font rendering till now. Even without any of dugan's beautifying techniques. There's no way I can live with the new defaults though. Will need to look into this.
 
Old 11-15-2010, 07:30 PM   #178
slackd
Member
 
Registered: Sep 2009
Location: Bangalore, India
Distribution: Fedora, Slackware, Arch Linux
Posts: 260
Blog Entries: 1

Rep: Reputation: 60
Wink

Quote:
Originally Posted by tomtomjkw View Post
Hi,

Just upgraded to newest -current, cairo and freetype included. Obvious result - firefox and thunderbird look awful now. Unfortunately I couldn't find subpixel rendering patches for cairo 1.10 and freetype 2.4.3 that would fit Dugan's slackbuilds. If anybody got it going, I would be grateful.
I used Dugan's old slackbuilds and Pat's new slackbuilds and made the necessary changes, actually most of the cairo, libXft and freetype patches are not required as they are already included in the new tarballs.

Fontconfig remains the same, so must be recompiled againts -current.

I will prepare a list soon.

Last edited by slackd; 11-15-2010 at 07:33 PM.
 
Old 11-15-2010, 07:48 PM   #179
slackd
Member
 
Registered: Sep 2009
Location: Bangalore, India
Distribution: Fedora, Slackware, Arch Linux
Posts: 260
Blog Entries: 1

Rep: Reputation: 60
Cool

Quote:
Originally Posted by slackd View Post
I will prepare a list soon.
1. Freetype: See attachment.

2. Fontconfig - (Just Recompile)

3. libXft :-
Step1 -> The patch needs a small edit towards the end. Just use the attached patch.

Step2 -> Compile with Dugan's slackbuild.

4. Cairo :-

Step1: Edit Slackbuild to include the following patches from Pat's slackbuild:

Code:
zcat $CWD/cairo-1.10.0-buggy_gradients.patch.gz | patch -p1 || exit 1
Now Dugan's Slackbuild:
Code:
patch -p1 < "${FILESDIR}"/${P}-interix.patch
patch -p1 < "${FILESDIR}"/${PN}-respect-fontconfig.patch
Step2: Bump version name of the "interix" patch in the files/ directory.
Quote:
cairo-1.10.0-interix.patch
Note 1. Compile in the order Dugan had originally mentioned.
Note 2. Use only the attached patches.

*Note 3*
Just realized that uploading the slackbuilds will make the job easier.

EDIT:
I am sorry if the Slackbuilds appear to be crude and unpolished, i edited them in a hurry.

-Good Luck-
Attached Files
File Type: txt libXft-2.2.0-ubuntu.patch.txt (120.8 KB, 29 views)
File Type: txt builds.tar.gz.txt (170.0 KB, 34 views)

Last edited by slackd; 11-15-2010 at 08:28 PM.
 
2 members found this post helpful.
Old 11-15-2010, 09:15 PM   #180
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
Awesome slackd,

Here are builds for people like myself who like cleartype patch sets,
http://webpages.charter.net/daedra1/cleartype/ (screenshots also)

these are for -current, just follow this order,

Freetype
Cairo
Fontconfig - (Just Recompile) *or you can skip this altogether, see below
libXft

Also I added a file in the build, source.sh. just run ./source.sh and it will download the source for you. This should save you a few minutes from searching and downloading the sources.

I personally dont mess with fontconfig I just drop in a .fonts.conf file in my home directory with my individual settings, this only works for that user and it is the lazy way... but I like it . Here is my .fonts.conf if interested.

<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
<edit mode="assign" name="rgba" >
<const>rgb</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hinting" >
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>true</bool>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hintstyle" >
<const>hintfull</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
</match> <match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
</fontconfig>

Last edited by Daedra; 11-18-2010 at 04:41 PM.
 
2 members found this post helpful.
  


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

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

All times are GMT -5. The time now is 10:56 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
Open Source Consulting | Domain Registration