LinuxQuestions.org
Visit Jeremy's Blog.
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-29-2008, 12:22 AM   #46
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,193

Rep: Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307

Quote:
Originally Posted by Daedra View Post
So this patch is all you need to fix the application problem? I thought I read that you had to compile a whole bunch of gnome stuff to get that working? Also where did you add the patch, before or after compile?
Let me assure you that compiling a bunch of GNOME stuff will NOT fix the applications problem. I have GSlacky installed. Without the patch, I get a blank applications panel even when I specifically build Firefox with gnomeui and gnomevfs support. These are the only configure flags dealing with GNOME. On the other hand, I can apply the patch, compile gnomeui and gnomevfs support out of Firefox, and still get a working Applications panel.

No, I haven't tested it on a GNOME-free Slackware system. I suspect that the presence of GNOME isn't actually a factor here.

You apply it before compile. Use "patch -p1 < /path/to/patch", then run configure.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 06-29-2008, 12:30 AM   #47
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,
Quote:
Originally Posted by Daedra View Post
I can see what your saying, but without the subpixel rendering they just look to soft to me. I prefer subpixel rendering, but I also like the old bytecode nonAA rendering too, I didn't include that into my howto because it seems so few have CRTs now, most people have switched to LCD.
I keep a 'CRT' in my shop. Loads of people still use a 'CRT'.
 
Old 06-29-2008, 12:36 AM   #48
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,669

Original Poster
Rep: Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367
Quote:
Originally Posted by r00tb33r View Post
Hmm, now that I think about it, it will look even worse on a CRT. Meaning I've been using LCDs for many years now. Perhaps it needs tuning for my current monitor, like the color order in a pixel, but I've played with that before, and none of the combinations produced a result I would be happy with. I definitely have to have AA on text at all times though, I even went the length of doing a GTK+ 1 hack, although I don't use that many of GTK+ 1 apps anymore.
NonAA renderings have their purpose... But not in a browser.
Matter of taste I guess. It didn't seem like a biggie back in Win 98 days where I had a choice of nonAA and nonAA.
Yes Subpixel rendering is only for LCD's or CRT's with a triniton tube, if the CRT is Shadow Mask it will look awful. Also have you tried switching the RGB geometry in the .fonts.conf file? It's rare but not all LCD's are RGB. These are my settings, my geometry is RGB (Red,Green,Blue), but you can try a different setting. Here are the available settings if I remember correctly.

<const>rgb<const>
bgr
vrgb
vbgr

<match target="font" >
<edit mode="assign" name="rgba" >
<const>rgb</const>
</edit>
</match>

It might be worth a try.
 
Old 06-29-2008, 12:48 AM   #49
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,669

Original Poster
Rep: Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367
Quote:
Originally Posted by onebuck View Post
Hi,


I keep a 'CRT' in my shop. Loads of people still use a 'CRT'.
Yeah, I think I will add a section for CRT's, you can make the fonts look really good with proper configuration and the bytecode interpreter enabled. Check out this Screen http://webpages.charter.net/daedra/BCI+NO-AA.png
 
Old 06-29-2008, 01:01 AM   #50
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,669

Original Poster
Rep: Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367
Quote:
Originally Posted by dugan View Post
Let me assure you that compiling a bunch of GNOME stuff will NOT fix the applications problem. I have GSlacky installed. Without the patch, I get a blank applications panel even when I specifically build Firefox with gnomeui and gnomevfs support. These are the only configure flags dealing with GNOME. On the other hand, I can apply the patch, compile gnomeui and gnomevfs support out of Firefox, and still get a working Applications panel.

No, I haven't tested it on a GNOME-free Slackware system. I suspect that the presence of GNOME isn't actually a factor here.

You apply it before compile. Use "patch -p1 < /path/to/patch", then run configure.
ok dugan what am I doing wrong? I am trying to apply the patch and it keeps looking for the file to patch. I extracted firefox went to the mozilla directory and did the ususal patch -p1 < /path/to/patch... what am I missing here, lol? I am familiar with applying patches just don't know what I am doing wrong here, lol
 
Old 06-29-2008, 02:17 AM   #51
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,193

Rep: Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307
I know "works for me" isn't helpful, but it's the best I can do. I downloaded the Firefox 3 source, untarred it to create a "mozilla" directory, then typed "cd mozilla ; patch -p1 < /path/to/proposed.diff", where "proposed.diff" is the file I linked to earlier. To downloaded "proposed.diff", I opened it in a web browser and then saved it.
 
Old 06-29-2008, 05:19 AM   #52
Toods
Member
 
Registered: Dec 2005
Location: UK
Distribution: Slackware 12.1
Posts: 249

Rep: Reputation: 32
Quote:
Originally Posted by dugan View Post
Let me assure you that compiling a bunch of GNOME stuff will NOT fix the applications problem. I have GSlacky installed. Without the patch, I get a blank applications panel even when I specifically build Firefox with gnomeui and gnomevfs support. These are the only configure flags dealing with GNOME. On the other hand, I can apply the patch, compile gnomeui and gnomevfs support out of Firefox, and still get a working Applications panel.

No, I haven't tested it on a GNOME-free Slackware system. I suspect that the presence of GNOME isn't actually a factor here.

You apply it before compile. Use "patch -p1 < /path/to/patch", then run configure.
I too have re-compiled Firefox with the source patched and the 'Applications' panel in 'Preferences' is now correctly populated. I do not have Gnome installed.

Bill.
 
Old 06-29-2008, 01:37 PM   #53
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,193

Rep: Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307
Quote:
echo "ac_cv_visibility_pragma=no" > .mozconfig
You don't need this. The bug it works around was fixed a long time ago.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20297

Last edited by dugan; 06-29-2008 at 01:49 PM.
 
Old 06-29-2008, 01:46 PM   #54
Su-Shee
Member
 
Registered: Sep 2007
Location: Berlin
Distribution: Slackware
Posts: 510

Rep: Reputation: 53
Quote:
Originally Posted by Daedra View Post
Hey Su-Shee, I am experimenting with somethings over here and I got firefox 3.0 compiled and working fine, but a quick questions I tried taking turners original patch and just editing the dirname like you did, but not all of the hunks succeeded 4 out of 10 failed, how did you get the old patch to work with cairo-1.6.4? There is a guy over at arch linux who is maintaining the patch now, but in order for it to work you also have to patch fontconfig or use fontconfig-2.6.0. I am basically just testing to see that this is really necessary of if the old patch can still work without patching fontconfig or using fontconfig-2.6.0. Not a huge deal just curious
(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:

patch -p0 < PerfectFontStuff/libcairo-1.6.4-lcd-cleartype-like.diff

Code:
patching file libcairo-1.6.4/src/cairo-ft-font.c
Hunk #1 succeeded at 56 (offset 3 lines).
Hunk #2 succeeded at 509 with fuzz 1 (offset 15 lines).
Hunk #3 succeeded at 816 (offset 33 lines).
Hunk #4 succeeded at 1108 (offset 20 lines).
Hunk #5 succeeded at 1239 (offset 35 lines).
The patch was originally for a much older cairo-version (1.2.something); I really just adjusted dirname (and the filename of the patch..)

And matching the subject of the thread:

I compiled FF3 (and xulrunner) with this flags:

Code:
./configure --enable-system-cairo --enable-system-lcms
 --disable-gnomeui --disable-gnomevfs 
--enable-application=browser --enable-glitz 
--enable-xft --prefix=/opt/firefox
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.
 
Old 06-29-2008, 02:20 PM   #55
Su-Shee
Member
 
Registered: Sep 2007
Location: Berlin
Distribution: Slackware
Posts: 510

Rep: Reputation: 53
Your patch works also fine, I see no difference visually. I can't set the fontconfig settings though, too old of a version it seems.

Nevertheless, the more recent cairo patch seems to work.

And now I don't see anything at all anymore thanks to intensively staring on single pixels.

Oh, and by the way: gtkrc font settings override FF3 specific font settings coming from "userChrome.css" (at least when I tested it..), so if STILL something seem really strange, tweak there.

I'm still not sure if I'm going to like gtk theme obedience or not...
 
Old 06-29-2008, 03:45 PM   #56
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,669

Original Poster
Rep: Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367
Quote:
Originally Posted by dugan View Post
I know "works for me" isn't helpful, but it's the best I can do. I downloaded the Firefox 3 source, untarred it to create a "mozilla" directory, then typed "cd mozilla ; patch -p1 < /path/to/proposed.diff", where "proposed.diff" is the file I linked to earlier. To downloaded "proposed.diff", I opened it in a web browser and then saved it.
Thanks Dugan, I got it. It was late and I wasn't paying attention I was passing the wrong -p option, lol. I have updated the buildscript with your suggestions.

Thanks Again.
 
Old 06-29-2008, 08:19 PM   #57
r00tb33r
Member
 
Registered: Feb 2007
Distribution: Vector
Posts: 318

Rep: Reputation: 31
Quote:
Originally Posted by Daedra View Post
Yes Subpixel rendering is only for LCD's or CRT's with a triniton tube, if the CRT is Shadow Mask it will look awful. Also have you tried switching the RGB geometry in the .fonts.conf file? It's rare but not all LCD's are RGB. These are my settings, my geometry is RGB (Red,Green,Blue), but you can try a different setting. Here are the available settings if I remember correctly.

<const>rgb<const>
bgr
vrgb
vbgr

<match target="font" >
<edit mode="assign" name="rgba" >
<const>rgb</const>
</edit>
</match>

It might be worth a try.
I like text configurations as well but for folks that want it easy theres a tool to do just that.
http://img78.imageshack.us/img78/3651/uikp3.png
Personally I think that if you don't tell people they won't even notice the difference, its more of a thrill of fixing something thats not broken. I do see a problem with colored pixels however.
 
Old 07-01-2008, 01:16 AM   #58
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,193

Rep: Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307
Now that I've tried some other subpixel patches, such as ones from this Gentoo thread, I really appreciate that you chose the best for us.
 
Old 07-01-2008, 09:03 PM   #59
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,193

Rep: Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307
Which Arch packages are these patches used in? Is it the -lcd packages?
 
Old 07-02-2008, 12:17 AM   #60
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,669

Original Poster
Rep: Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367
http://aur.archlinux.org/packages.php?ID=16459

http://aur.archlinux.org/packages.ph..._Orphans=&SeB=
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:55 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration