LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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-10-2009, 08:16 AM   #121
vehn
Member
 
Registered: Dec 2007
Posts: 54

Rep: Reputation: 17

Quote:
Originally Posted by Toods View Post
Yes, Dugan seems to have taken the 'fontconfig' SlackBuild down from his download site. It contained quite a few configuration patches, so my guess is that he is revising it for compatibility reasons with new versions or something.

Bill.
It work very nice for me on slackware-current. But I use binary package (fontconfig) from #106 post. I need patches from fontconfig's slackbuild. I also use /etc/fonts from xubuntu 9.04.

Screenshot: http://img31.imageshack.us/img31/8305/screenh.png
 
Old 06-10-2009, 04:41 PM   #122
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,632

Rep: Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429
Quote:
Originally Posted by vehn View Post
Slackbuild for fontconfig from post #92 not available. Please upload it anywhere.
Carp! I forgot to upload the new Fontconfig SlackBuild! Sorry about that.

However, I can't upload it this week. I'm on vacation and I didn't bring my Slack box. Give me until Tuesday (when I get back).

In the meantime, though, you can patch Fontconfig yourself. The exact collection of patches (click on "files"), and the ebuild I based the SlackBuild on, are both here:

http://hg.core.ws/devnull/file/815c1...bs/fontconfig/

Gentoo ebuilds, like SlackBuilds, are human-readable. Read the ebuild to find out which patches you need for which rendering style. Figuring out each patch's p-level is a bit trickier. Generally, the ones that add configuration files are p0 and the others are p1.
 
Old 06-16-2009, 08:19 PM   #123
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,632

Rep: Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429
I've uploaded the Fontconfig SlackBuild. See post #92 for the download link.

EDIT:

I've made changes to the other ones as well. Mainly refactorings.

The download link for the Cairo source package now correctly points to version 1.8.6.

Last edited by dugan; 06-17-2009 at 04:29 AM.
 
Old 06-28-2009, 12:09 PM   #124
tricqster
LQ Newbie
 
Registered: Feb 2009
Distribution: Slackware, Source Mage
Posts: 3

Rep: Reputation: 0
Thumbs up Great!

Thank you very much, I was looking for this for a long time. I thought, that I'll need to install ubuntu, just because their font rendering was different (better for me) than in most distros.

Sure, it's matter of taste, and depends on your display, but I think for LCDs this is perfect.
 
Old 06-29-2009, 03:19 PM   #125
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,632

Rep: Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429
I think I've found the optimal setting.

To begin with, I've installed both the Droid fonts and the SlackBuilds from post #92 (Ubuntu-style rendering). Webcore fonts from SlackBuilds.org are installed too.

My conf.d directory:
  • 10-hinting-full.conf
  • 10-hinting.conf
  • 10-sub-pixel-rgb.conf
  • 11-lcd-filter-lcddefault.conf
  • 20-fix-globaladvance.conf
  • 20-unhint-small-vera.conf
  • 30-metric-aliases.conf
  • 30-urw-aliases.conf
  • 35-droid.conf
  • 40-nonlatin.conf
  • 45-latin.conf
  • 49-sansserif.conf
  • 51-local.conf
  • 53-monospace-lcd-filter.conf
  • 60-latin.conf
  • 65-fonts-persian.conf
  • 65-nonlatin.conf
  • 69-unifont.conf
  • 80-delicious.conf
  • 90-synthetic.conf
  • README
  • 50-user.conf

And the contents of 35-droid.conf:
Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
	<alias>
		<family>serif</family>
		<prefer>
			<family>Droid Serif</family>
		</prefer>
	</alias>
	<alias>
		<family>sans-serif</family>
		<prefer>
			<family>Droid Sans</family>
		</prefer>
	</alias>
	<alias>
		<family>monospace</family>
		<prefer>
			<family>Droid Sans Mono</family>
		</prefer>
	</alias>
</fontconfig>
So:
  • the bytecode interpreter is enabled in Freetype
  • the autohinter is disabled. That means the bytecode interpreter is active
  • antialiasing is disabled
  • having the bytecode interpreter active means Truetype fonts are rendered as on Windows
  • the sans, serif and monospace aliases are set to Droid fonts, which look good with both the bytecode interpreter and the autohinter
  • Liberation, DejaVu and Bitstream Vera fonts, which don't look good with the bytecode interpreter, are not used

Last edited by dugan; 06-26-2010 at 07:18 PM. Reason: Updated for Slackware 13.1. Again.
 
1 members found this post helpful.
Old 06-29-2009, 03:38 PM   #126
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,220

Original Poster
Rep: Reputation: 177Reputation: 177
can you post a screenshot? I would like to see the results
 
Old 06-29-2009, 03:57 PM   #127
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,632

Rep: Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429
http://img.photobucket.com/albums/v2...screenshot.png
 
Old 06-30-2009, 07:42 AM   #128
tricqster
LQ Newbie
 
Registered: Feb 2009
Distribution: Slackware, Source Mage
Posts: 3

Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by dugan View Post
The best (or one of the best) I've ever seen. Thank you. I'm going to set it up.
 
Old 07-05-2009, 07:26 PM   #129
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,220

Original Poster
Rep: Reputation: 177Reputation: 177
Quote:
Originally Posted by dugan View Post
That's about as close to windows "cleartype" as I've seen. I prefer using different patch sets and settings that give a more bold look but that still looks great.
 
1 members found this post helpful.
Old 07-13-2009, 09:51 PM   #130
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,632

Rep: Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429
I just found out that if you install the Ubuntu patches and then put the following line in .Xdefaults, you get much nicer fonts in OpenOffice.org:

Code:
Xft.lcdfilter: lcddefault
I've tried it with the OpenOffice.org binaries (packaged with the SlackBuilds.org script) and with GnomeSlackBuild's custom OpenOffice.org package.

Now I'm experimenting with these Xdefaults settings, which seem to work even better:
Code:
! Xft.antialias: 1
Xft.dpi: 96
Xft.hinting: 1
Xft.hintstyle: hintfull
Xft.lcdfilter: lcddefault
Xft.rgba: rgb

Last edited by dugan; 07-13-2009 at 10:08 PM.
 
1 members found this post helpful.
Old 07-16-2009, 02:15 PM   #131
tomtomjkw
Member
 
Registered: Jan 2008
Distribution: Slackware64-current
Posts: 127

Rep: Reputation: 31
Above confirmed, Open Office font rendering went from pathetic to ecstatic in one ctrl+c/ctrl+v. Thanks Dugan.
 
Old 08-08-2009, 04:53 PM   #132
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,632

Rep: Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429
I've written up most of this thread's findings:
http://www.vcn.bc.ca/~dugan/slackware-fonts/
 
Old 08-08-2009, 07:29 PM   #133
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,220

Original Poster
Rep: Reputation: 177Reputation: 177
Quote:
Originally Posted by dugan View Post
I've written up most of this thread's findings:
http://www.vcn.bc.ca/~dugan/slackware-fonts/
Nice Dugan, I was thinking that this post probably needed an overhaul when 13 hit. But you just did all the work for us, so thanks
 
Old 08-10-2009, 02:27 PM   #134
Petri Kaukasoina
Member
 
Registered: Mar 2007
Posts: 241

Rep: Reputation: 86
Quote:
Originally Posted by dugan View Post
I've written up most of this thread's findings:
http://www.vcn.bc.ca/~dugan/slackware-fonts/
Hi,

you could consider adding --libdir=/usr/lib${LIBDIRSUFFIX} to configure flags in libXft.SlackBuild, cairo.SlackBuild and freetype.SlackBuild to put the libraries in /usr/lib64 in Slackware64.
 
Old 08-10-2009, 02:39 PM   #135
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,632

Rep: Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429
I've fulfilled your request to the letter (didn't touch Fontconfig.SlackBuild). The new SlackBuilds are up. I haven't tested them though.
 
  


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 03:21 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