SlackwareThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
(Sorry, I had to work and therefore a strict no-forums policy enabled. )
First: I'm still on Slack 12.0 - no 12.1.
Pkg-config says, I'm using fontconfig 2.4.2 and I have no specific fontconfig patch lying around right now. For freetype and Xft, I'm using your already patched Slackware packages.
For recent Cairo versions, I use the patch you can check out here.
I just re-did it on a clean cairo (with changed filename and dirname) - with this result:
And yes, I forgot a handfull of more flags, I know.
I tried _your_ mentioned patch, which also patches cleanly (with some minor offsets) which I'm going to try now.
Hmm... I see now what you mean, I tested out your patch above and if I use cairo with your patch It works fine with fontconfig 2.4.2. I think I will update my page 2 post with this info, however there really is a slight difference in quality, its extremely minute, but is noticeable... at least to me I took some screenshots and zoomed in on them just to compare and the only difference is that your patch with fontconfig 2.4.2 has a slightly lighter contrast to the text and the arch patches with fontconfig 2.6.0 has a little darker text. But you have to have good eyes to see the difference, very minute. For my eyes though I think the arch patches with the new fontconfig are slightly less "fuzzy"
Last edited by Daedra; 07-03-2008 at 05:11 AM.
Click here to see the post LQ members have rated as the most helpful post in this thread.
I read, on the Arch Linux forums, about people taking Ubuntu's font patches and using them on Arch. I tried them on Slackware and the results are good! Are they better than the LCD patches that Daedra ported for us? I don't know. They're both good and the choice is tough:
Seems abit better in my case. I set in Firefox 3.0 to use the "liberation sans, liberation serif, liberation mono", and bumped up the size a little bit to 14.
Now fonts are 90% there.
I am still frustrated on this fonts topic though. I wish we could just have a simple consistent fonts approach across all platforms. My fonts are now the best I have ever seen them in slack but less spectacular then I have seen in other OS's.
I guess I need to do some more research into the understanding of this.
Thanks again guy's didn't want to come accross as non-appreciative for your work, I am very thankful for your work & has drastically improved my fonts. I am Just frustrated with the overall Linux font situation.
One question I do have?
Do we still use the "/home/user/.fonts.conf" file from the original post? I removed all the changes I made from post #1 prior to using this last method?
If you look in /etc/fonfs/conf.d and /etc/fonts/conf.avail, you'll see that 50-user.conf calls .fonts.conf and 51-local.conf calls local.conf. These files are loaded in numerical order, and options cannot be overridden once set. So if an option is set differently in .fonts.conf and local.conf, the .fonts.conf settings will be used.
Therefore, you were right to empty your .fonts.conf before setting up a local.conf.
Also something to note. I noticed in your "local.conf" you reference "/usr/local/share/fonts" and by default the font directory is "/usr/share/fonts" in slackware 12.1. I am not sure if this is something that was done on purpose or not, but I just made the change in my file and seems to have fixed my font issues and I returned my Fiefox settings back to default.
My local.conf file searches for fonts in /usr/local/share/fonts. So to install a new font, you just put the font file (.ttf, otf, .dfont, .pcf, etc) in /usr/local/share/fonts and then run "fc-cache -f -v" as root.
As for font recommendations, I recommend installing Microsoft's Core Web Fonts at the very least. If you go to the Unicode Font Guide, you will find a script to download lots of foreign language fonts. You need those to display Wikipedia.
My KDE desktop fonts set up according to an OS X Imitation Guide. My GNOME desktop fonts are set up the same way.
In Xfce, my UI font is 8pt Segoe UI (which I copied from my Vista partition) and my window manager font is Trebuchet MS Bold 11pt.
I just got done with a full day of running the ubuntu-LCD and I have to say that its apples and oranges, no major difference that makes one better than the other. Nice work on the buildscripts dugan.
Thanks, Daedra. I'm currently revising the scripts to make them download the packages.
If you're wondering why I used Hardy packages and not Intrepid packages, it's because the libXft and cairo in Intrepid won't build against the fontconfig in Intrepid. Go figure.
On my next day off I think I am going to try all 4 again and take screenshots.
Please take screenshots of a fifth as well. The fifth screenshot would be with all stock Slackware packages.
By the way, I've uploaded new versions of the Ubuntu SlackBuilds. They now download the source files. I'm also trying out a new system: they untar their sources in /tmp/build/source, package them in /tmp/build/package, and output tgz files to /tmp/build/output. The old system made my /tmp directory too messy.
Also, the names of the patches being applied are displayed in bold now.
Last edited by dugan; 07-12-2008 at 07:55 PM.
Reason: Uploaded new versions with different paths.
Hey dugan just an update, I decided not to mess with the xeffects patches because there pretty old and don't seem to be updated anymore, any between my original post and the firefox post and your ubuntu patches and shu-shee's patch for the original David Turner cleartype patch I think pretty much all the bases are covered, the biggest differences at this point would come from custom settings in fontconfig which I think we also supplied a pretty good base for .
Daedra: Do you know about the fir filter patch from Jinghua Luo? It's another freetype/cairo subpixel patch floating around which I've got tested - haven't used it anymore, because I like the config I have now.
I don't remember where I got it, so I put it at my place.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.