LinuxQuestions.org
Register a domain and help support LQ
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 04-30-2011, 09:18 PM   #211
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,222

Original Poster
Rep: Reputation: 177Reputation: 177

Yeah I got cleartype style patches available, Ill post them a little later when I sort out a few things, I'm guessing Dugan will have an update sooner or later.

Last edited by Daedra; 04-30-2011 at 09:53 PM.
 
Old 04-30-2011, 09:49 PM   #212
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,222

Original Poster
Rep: Reputation: 177Reputation: 177
Wink

Ok I went ahead and got them updated. Here is the link
http://www.mostlyslack.com/slackstuff/cleartype

I put a bash script in each build called source.sh that will download the source for you, I was going to add this directly into the build but I got lazy and just did it this way . After you've built and installed the 3 packages (freetype, cairo, libXft) you will need to edit your fontconfig to enable sub-pixel rendering, you can add these features globally by adding the correct symlinks from your /etc/fonts/conf.avail to your /etc/fonts/conf.d directory. Or you can just use my fonts.conf file in the above link and save it in your home directory as .fonts.conf. Once that is done just reboot and you should have it working.

Before
http://www.mostlyslack.com/slackstuf...-cleartype.png

After
http://www.mostlyslack.com/slackstuf.../cleartype.png

Keep in mind that these patches are slightly different that the ones that dugan provides. I prefer these because they give a slight bold appereance to the fonts. If you want your fonts more like windows XP/7 then you probably want to look at dugans ubuntu patches.

Last edited by Daedra; 05-09-2011 at 11:42 PM.
 
9 members found this post helpful.
Old 04-30-2011, 11:40 PM   #213
SqdnGuns
Member
 
Registered: Aug 2005
Location: Fountain Valley, CA / Thailand
Distribution: Slackware64 14.0
Posts: 981

Rep: Reputation: 88
Quote:
Originally Posted by Daedra View Post
Ok I went ahead and got them updated. Here is the link
http://webpages.charter.net/daedra1/cleartype/

I put a bash script in each build called source.sh that will download the source for you, I was going to add this directly into the build but I got lazy and just did it this way . After you've built and installed the 3 packages (freetype, cairo, libXft) you will need to edit your fontconfig to enable sub-pixel rendering, you can add these features globally by adding the correct symlinks from your /etc/fonts/conf.avail to your /etc/fonts/conf.d directory. Or you can just use my fonts.conf file in the above link and save it in your home directory as .fonts.conf. Once that is done just reboot and you should have it working.

Before
http://webpages.charter.net/daedra1/...-cleartype.png

After
http://webpages.charter.net/daedra1/.../cleartype.png

Keep in mind that these patches are slightly different that the ones that dugan provides. I prefer these because they give a slight bold appereance to the fonts. If you want your fonts more like windows XP/7 then you probably want to look at dugans ubuntu patches.
Thanks Daedra, using them now and looks good.

Edited: Just to make sure peeps see that they need to reboot per Daedra's post.

Last edited by SqdnGuns; 05-01-2011 at 03:18 AM. Reason: Just to make sure peeps see that they need to reboot per Daedra's post.
 
Old 05-01-2011, 02:57 AM   #214
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Rep: Reputation: 17
Hi Daedra,

Really appreciate your reply, and I guess that I might need your help once again.

I followed your instructions, and recompiled freetype, cairo, libXft,and the fonts looks much better. The only (quite serious problem) is that all letters in my xfce are squares, I cannot do nothing with my slackware. While web pages are fine, they appear quite normal.

Thanks

Sorry, I just reboot the system, and everything is good, so please ignore this post.

Thanks

Last edited by markluocanada; 05-01-2011 at 03:04 AM.
 
Old 05-01-2011, 02:57 AM   #215
Buumi
Member
 
Registered: Dec 2010
Distribution: Slackware
Posts: 52

Rep: Reputation: 5
Nice. They are easy to use, didn't take long to install and they're working great. Thanks Daedra, one reason I like Slackware is that community makes it easy to use all the great things that one could miss.

Edit: Made a quick test with XFCE and for me they are working fine, thought I don't use Slackware's default font but Droid Sans.

Last edited by Buumi; 05-01-2011 at 03:01 AM. Reason: Test
 
Old 05-01-2011, 07:00 AM   #216
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Rep: Reputation: 17
Hi, Daedra,

A quick question, font in Libreoffice isn't as good as that of firefox, and how to fix that?

thanks
 
Old 05-01-2011, 05:17 PM   #217
deNiro
Member
 
Registered: Jun 2003
Location: Belgium
Distribution: Slackware
Posts: 109

Rep: Reputation: 16
Has the procedure changed in any way?

do I have to remove the original packages first ( and /etc/fonts directory), and then build in order, or can I just build and upgrade?


Quote:
Originally Posted by Daedra View Post
Ok I went ahead and got them updated. Here is the link
http://webpages.charter.net/daedra1/cleartype/

I put a bash script in each build called source.sh that will download the source for you, I was going to add this directly into the build but I got lazy and just did it this way . After you've built and installed the 3 packages (freetype, cairo, libXft) you will need to edit your fontconfig to enable sub-pixel rendering, you can add these features globally by adding the correct symlinks from your /etc/fonts/conf.avail to your /etc/fonts/conf.d directory. Or you can just use my fonts.conf file in the above link and save it in your home directory as .fonts.conf. Once that is done just reboot and you should have it working.

Before
http://webpages.charter.net/daedra1/...-cleartype.png

After
http://webpages.charter.net/daedra1/.../cleartype.png

Keep in mind that these patches are slightly different that the ones that dugan provides. I prefer these because they give a slight bold appereance to the fonts. If you want your fonts more like windows XP/7 then you probably want to look at dugans ubuntu patches.
 
Old 05-01-2011, 08:07 PM   #218
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,222

Original Poster
Rep: Reputation: 177Reputation: 177
just build and upgrade, then drop in the fonts.conf file in your home directory but rename it .fonts.conf. restart x and your done.
 
1 members found this post helpful.
Old 05-01-2011, 08:25 PM   #219
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Rep: Reputation: 17
How to make this .font.conf apply to all users? btw, root is the only user I have now..

thanks
 
Old 05-01-2011, 08:35 PM   #220
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,222

Original Poster
Rep: Reputation: 177Reputation: 177
Quote:
Originally Posted by markluocanada View Post
Hi, Daedra,

A quick question, font in Libreoffice isn't as good as that of firefox, and how to fix that?

thanks
Open up your fav text editor and copy this into it.

! Xft.antialias: 1
Xft.dpi: 96
Xft.hinting: 1
Xft.hintstyle: hintfull
Xft.lcdfilter: lcddefault
Xft.rgba: rgb

then save it in your home directory as .Xdefaults. Restart X and libreoffice should look better.
 
Old 05-02-2011, 12:54 AM   #221
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Rep: Reputation: 17
Thanks for the help, Daedra.

I did what said, but it didn't work. This is somehow weird, fonts in some programs (firefox,Thunar,thunderbird,and etc) work great, but in other programs, like Opera, seamonkey, libreoffice, the font rendering is not good at all.

I am using xfce now, and I guess that i have to do more readings.

Thanks
 
Old 05-02-2011, 02:03 AM   #222
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,222

Original Poster
Rep: Reputation: 177Reputation: 177
What version of Slackware are you using? Your signature says 12.1.
 
Old 05-02-2011, 02:55 AM   #223
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Rep: Reputation: 17
sorry, just had it updated, and I am using the latest one 13.37.

I am reading some article about 'system-wide font instaallation,' and hope to find some fix.

thanks,
 
Old 05-02-2011, 02:56 AM   #224
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,222

Original Poster
Rep: Reputation: 177Reputation: 177
one more question, are you using 64bit or 32bit?
 
Old 05-02-2011, 03:00 AM   #225
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Rep: Reputation: 17
32 bit, thanks
 
  


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 08:10 AM.

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