Quote:
|
I'm using Slackware64-current, so I think Pat's build of Firefox is dynamically linked against cairo instead of the static linking under 32-bit. Everything looks good to me in firefox-3.5.6 now that I've got cairo-1.8.8 patched.
|
Why is Chrome not showing fonts in a manner similar to Firefox? It defaults to using Arial and Times New Roman, and I've switched it to match what I have in Firefox, but I didn't really see any change.
|
just guessing but like you said above, chrome might be statically linked against cairo. That could be the problem.
|
After doing a little googling, it looks like Chrome uses skia (http://code.google.com/p/skia/) and not cairo.
|
Thursapr, what rmjohnso wrote is correct. You need to rebuild Firefox from source. Use the Slackware64 SlackBuild.
|
Quote:
Anyone rebuild FF after upgrading 4 package not encountered my problem? |
Quote:
|
@ dugan,
I just wanted to write that I had never before visited your web page about these fonts and things, so I went and had a look just now. It's nice! Really well written and covers a lot of angles dealing with fonts and monitors and X. Cool, nice work. I have long ago got my subpixel rendering sorted out, but never yet bothered going into great depth regarding my Slackware fonts (AFAICT they are pretty good anyhow); but it's on my list though of things to do eventually, and I'll be using this thread, and your web page, as a guide/template when I get to it. Thanks, Sasha |
The four patched SlackBuilds have been updated for 13.1.
You can find them in the "Optimizing Slackware Linux's Fonts" page in my sig. |
Thanks dugan, your page has been a real help in making my desktop MUCH getter.
|
Calibri problem
Hi
I have a problem with Calibri font: http://yfrog.com/jycalibrip When font size ranges from 8 to 14, rendering of language specific fonts seems to be broken. 15 and over - font is ok. Webcore-fonts installed from Dugan's slackbuild, fontconfig and others compiled Cleartype-style. Any ideas? |
I just noticed that the current Fontconfig patch no longer enables the "lcddefault" filter, which is the whole point of the Ubuntu patches in the first place.
You need to add the following lines to your local.conf: Code:
|
I rebuilt your packages for 13.1 on a fresh installation a couple of weeks ago, Dugan, and my fonts didn't seem as clear as they did a couple of months ago on -current. Thanks for the tweak - that made a big difference. One thing you might want to mention is that your addition needs to go between the <fontconfig> . . . </fontconfig> tags, not at the end of the file.
Something else I noticed is that I'm missing some entries in /etc/fonts/conf.avail now. Compared to your post #125, I don't have any 10-hinting-*.conf entries, and I don't have 11-lcd-filter-lcddefault.conf. Your conf.d from post #125 was last edited in 08/09 for Slackware 13.0. Is it still consistent with 13.1? My /etc/fonts/conf.avail: Code:
-rw-r--r-- 1 root root 220 2010-06-01 17:54 10-autohint.conf Code:
-rw-r--r-- 1 root root 3861 2010-06-01 17:57 freetype-2.3.12-x86_64-1_dc |
SpelledJ: Those files are no longer there. I've edited post #125 accordingly.
To tweak further, try putting <edit name="antialias" mode="assign"><bool>true</bool></edit> or <edit name="antialias" mode="assign"><bool>false</bool></edit> between the <match> tags. Also, I tried Chrome, and I noticed that the fonts in the rendering area look different than the fonts in its menus, with the menu fonts being fuzzier and the website fonts being sharper. This leads me to believe that the settings in Chrome's rendering area are actually hardcoded, and cannot be changed. I do know that this is the case with another program: the Gargoyle Interactive Fiction Interpreter. |
ACTUALLY, the missing files were a bug in the Fontconfig SlackBuild. I fixed it. They're there now.
Everything should now work as before. |
Quote:
|
dugan, it would be nice if you also provide the patches for older slackware (12.x, 13.0). Maybe a tree of folders?
|
The patched versions of Freetype, Fontconfig, LibXft and Cairo will work in older Slackware.
|
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? |
Hmm... I don't seem to have the 52-languageselector.conf file anymore either. I've edited post #125 accordingly.
|
I just updated the "Optimizing Slackware Linux's Fonts" page. Among the changes are:
It also has a new design that doesn't use Microsoft fonts :D. |
Nice
|
Hi,
Very nice! Quote:
|
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. |
Quote:
BTW there's a typo on the displayed link for rxvt-unicode which appears as rxt-unicode. |
Quote:
|
Quote:
Fontconfig remains the same, so must be recompiled againts -current. I will prepare a list soon. |
2 Attachment(s)
Quote:
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 Code:
patch -p1 < "${FILESDIR}"/${P}-interix.patch Quote:
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- |
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> |
Good Work, Daedra.
I might try out cleartype for a change!! |
Thanks Daedra, my fonts are back to their good cleartype-selves.
Additional question - what does exactly libXft cleartype patch do? I can't build libXft with your slakbuild (line 60: ./configure no such file or directory), but honestly I haven't ever been able to see the difference beetween stock libXft and Dugan's one. |
Quote:
And it's been debated on whether or not you really need to recompile libXft, but in my opinion it does make a difference. |
Daedra,
This is will be my first attempt at using cleartype. I have a question, do I need to rebuild the freetype version provided in the latest current, or could I use a previous version? |
Quote:
|
Quote:
|
are you building on current or slackware 13.1? Cause I have builds for both I just only have my -current ones posted right now. but I can post them if you need them?
|
Quote:
|
Quote:
|
Daedra,
Had great success using the modified freetype to build "cleartype". The instructions worked out great! Just for the heck of it, I tried the latest current freetype, and adding 10-autohint.conf to /etc/fonts/conf.d/ which gave me good results also. Both options used .fonts.conf file that you provided in a previous post. I like the "cleartype" fonts much, much better though! :) Thanks for your help on this! |
Hi,
Quote:
:hattip: |
Here are builds for 13.1 cleartype. Like I said in the previous post you can rebuild fontconfig with Dugan's build but I just skip that step and use a .fonts.conf file in my home directory. Either way works, but the .fonts.conf way is the lazy way :).
http://webpages.charter.net/daedra1/cleartype.zip |
Anyone know how to get OS X Quartz style rendering? Or the closest fontconfig example and patches? Cleartype is ok, but I prefer the super AA OS X offers. Text shapes look more accurate to me, at the expense of extra blurriness which I don't mind.
|
You can try my cleartype builds with my .fonts.conf file, but don't enable sub-pixel rendering, this should give you the over AA blurry look your wanting. You might be able to achieve this with the stock packages, but I haven't tried OS X style in over a year so I can't remember, I do know that disabling sub-pixel rendering definitely gave a more OS X look.
Good Luck. |
I get this message...why?
Hunk #1 succeeded at 27. Hunk #2 succeeded at 53. Hunk #3 succeeded at 145. Hunk #4 succeeded at 187. Hunk #5 succeeded at 208. Hunk #6 succeeded at 287. Hunk #7 succeeded at 381. Hunk #8 succeeded at 393. Hunk #9 succeeded at 411. Hunk #10 succeeded at 530. done ./libXft.SlackBuild: line 60: ./configure: No such file or directory |
Because you really don't have configure file in your libXft.2.2.0 source file. I do not have it either.
Solution: download source from any slackware mirror (it's located in source/x11/src/lib/), recompress it from tar.xz to tar.bz2 (or change slackbuild), create package. |
I went ahead and edited the build slightly so that you guys shouldn't run into this problem with the libXft build. I also added a source.sh file which can download the source for you. This should save you some time running around looking for the source. Now to download the source just run. ./source.sh then after you are ready to build.
|
I -think- I can see the difference in font rendering after finally upgrading to your libXft version: font seem to be even more cleartype like, but am not sure, must check it out.
|
Could you post a screenshot? I am curious to see. I have always maintained that you need to recompile libXft to get the best results, a lot of other people feel this isn't necessary, I do know the results are very close though.
|
With pleasure, when I come back from the mountains :)
|
All times are GMT -5. The time now is 02:27 PM. |