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.
If you want it to take advantage of the patched font libraries (Freetype, etc) then yes.
I've downloaded sources for Firefox 15.0.1(x86_64) from Slackware mirror and got Firefox.Slackbuild (x86_64). So how do I change the slackbuild script? I've installed your patches from the github.
Edit: Downloaded x86_64 source directory.
Last edited by PenguinWearsFedora; 09-20-2012 at 01:10 AM.
I've been busy with school and work so I haven't really had anytime to play with Current, but I have been running the 13.37 patches and I have noticed that, for whatever reason even though the newest builds of firefox have the --enable-system cairo flag disabled like Dugan pointed out but it doesn't seem to affect the font quality, at least with the patches I use. This used to be an issue and you definitely had to enable this feature to get the proper results but this doesn't seem to be the case anymore. I took a screenshot and compared it to my older ones and I can see no difference. I can't find the exact code snippet but I did see that there was a subpixel patch that was added to the cairo git tree a while back. I have been testing on current the last few days and the cairo patch I use is needed because slackware 14 is going to ship with cairo-1.10.2 since the newer versions of cairo are broken, but I did test out cairo-1.12.2 and I can confirm that the cairo patches I use are no longer needed for the 1.12 branch of cairo and it leads me to believe that the internal version firefox uses is possibly one of those newer versions.
I've been busy with school and work so I haven't really had anytime to play with Current, but I have been running the 13.37 patches and I have noticed that, for whatever reason even though the newest builds of firefox have the --enable-system cairo flag disabled like Dugan pointed out it doesn't seem to affect the font quality, at least with the patches I use. This used to be an issue and you definitely had to enable this feature to get the proper results but this doesn't seem to be the case anymore. I took a screenshot and compared it to my older ones and I can see no difference. I can't find the exact code snippet but I did see that there was a subpixel patch that was added to the cairo git tree a while back. I have been testing on current the last few days and the cairo patch I use is needed because slackware 14 is going to ship with cairo-1.10.2 since the newer versions of cairo are broken, but I did test out cairo-1.12.2 and I can confirm that the cairo patches I use are no longer needed for the 1.12 branch of cairo and it leads me to believe that the internal version firefox uses is possibly one of those newer versions.
Yeah I was going to say the same thing. I built firefox without enabling the cairo but then Dugan suggested to enable it in the slackbuild script, so I un-commented the line to read:
So when we're going to see patched version from Dugan to beautify this new puppy up ? Can I use the currently available Slackbuild script with the lastest sources of fontconfig, freetype, libXft and Cairo to get LCD Filter rendering?
haha. Wouldn't it be a pleasant experience reading text when fonts are all sexy and smooth, well atleast for us with Slackware 14. Just a thought, no pressure.
Here are the patches I use for 14, these patches are based off the old cleartype patches written by David Turner of Freetype. These patches are almost obsolete because most the code has now been merged upstream. We still need to patch freetype and cairo, but the libXft patch is no longer needed. Truth is this is the last release I will maintain these patches for since the patches won't be needed in the very near future.
It's a Slackware package containing the fonts in Android SDK ADT release 20. This consists of a lot more than the Droid Sans/Serif/Mono fonts that most people are familiar with. In particular, it includes Roboto, the new UI font used in Ice Cream Sandwich. Additionally, it includes Droid Sans Fallback, which is Google's pan-Unicode font. If you catquickbrown.txt from an xterm launched with the following command:
Code:
LANG=en_US.UTF8 xterm -fd Droid\ Sans\ Fallback
Then every character will be displayed properly. This is better even than what you can currently get on Arch Linux, where the cyrillic fonts still display as squares.[1]
Here are the patches I use for 14, these patches are based off the old cleartype patches written by David Turner of Freetype. These patches are almost obsolete because most the code has now been merged upstream. We still need to patch freetype and cairo, but the libXft patch is no longer needed.
These fonts/rendering really good Daedra, thanks for the screenshots. Is there any other difference between Slacware 13.37 and 14 as far as all that font patching is concerned. Like do we have to recompile Firefox again with cairo enabled or any other finer details that we should be aware of?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.