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. |
|
 |
|
06-10-2009, 08:16 AM
|
#121
|
|
Member
Registered: Dec 2007
Posts: 54
Rep:
|
Quote:
Originally Posted by Toods
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
|
|
|
|
06-10-2009, 04:41 PM
|
#122
|
|
Senior Member
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 3,653
|
Quote:
Originally Posted by vehn
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.
|
|
|
|
06-16-2009, 08:19 PM
|
#123
|
|
Senior Member
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 3,653
|
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.
|
|
|
|
06-28-2009, 12:09 PM
|
#124
|
|
LQ Newbie
Registered: Feb 2009
Distribution: Slackware, Source Mage
Posts: 3
Rep:
|
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.
|
|
|
|
06-29-2009, 03:19 PM
|
#125
|
|
Senior Member
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 3,653
|
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.
|
06-29-2009, 03:38 PM
|
#126
|
|
Senior Member
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-13.37
Posts: 1,182
Original Poster
Rep: 
|
can you post a screenshot? I would like to see the results 
|
|
|
|
06-29-2009, 03:57 PM
|
#127
|
|
Senior Member
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 3,653
|
|
|
|
|
06-30-2009, 07:42 AM
|
#128
|
|
LQ Newbie
Registered: Feb 2009
Distribution: Slackware, Source Mage
Posts: 3
Rep:
|
Quote:
Originally Posted by dugan
|
The best (or one of the best) I've ever seen. Thank you. I'm going to set it up.
|
|
|
|
07-05-2009, 07:26 PM
|
#129
|
|
Senior Member
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-13.37
Posts: 1,182
Original Poster
Rep: 
|
Quote:
Originally Posted by dugan
|
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.
|
07-13-2009, 09:51 PM
|
#130
|
|
Senior Member
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 3,653
|
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.
|
07-16-2009, 02:15 PM
|
#131
|
|
Member
Registered: Jan 2008
Distribution: Slackware64-current
Posts: 118
Rep:
|
Above confirmed, Open Office font rendering went from pathetic to ecstatic in one ctrl+c/ctrl+v. Thanks Dugan.
|
|
|
|
08-08-2009, 07:29 PM
|
#133
|
|
Senior Member
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-13.37
Posts: 1,182
Original Poster
Rep: 
|
Quote:
Originally Posted by dugan
|
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 
|
|
|
|
08-10-2009, 02:27 PM
|
#134
|
|
Member
Registered: Mar 2007
Posts: 212
Rep:
|
Quote:
Originally Posted by dugan
|
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.
|
|
|
|
08-10-2009, 02:39 PM
|
#135
|
|
Senior Member
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 3,653
|
I've fulfilled your request to the letter (didn't touch Fontconfig.SlackBuild). The new SlackBuilds are up. I haven't tested them though.
|
|
|
|
| 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 03:08 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
|
|