Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mozilla Font Rendering
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
geders
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2002
Posts: 76
Location: Purdue

PostPosted: Sun Sep 22, 2002 4:48 pm    Post subject: Mozilla Font Rendering Reply with quote

I know that mozilla uses its own font rendering separate from KDE/Gnome's rendering for speed (correct me if I am wrong), but I was hoping to get some assistance in bringing the two a little closer in appearance...I usually run KDE (sometimes Gnome), and prefer Mozilla (1.0-r3) over Konq and others. Here's a screenshot (200k):

[img:9fff3c8cc6]http://expert.cc.purdue.edu/~geders/aa.jpg[/img:9fff3c8cc6]

Mozilla on left and Konq on right...Konq is fairly representative of how most everything in KDE looks, and Mozilla still is looking blocky...any help would be great!
Back to top
View user's profile Send private message
orochi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Aug 2002
Posts: 76

PostPosted: Sun Sep 22, 2002 5:54 pm    Post subject: gtk2 is the answer Reply with quote

the fonts are properly anti-aliased if u compile mozilla with gtk2 use variable but be aware that this might break other things
Back to top
View user's profile Send private message
geders
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2002
Posts: 76
Location: Purdue

PostPosted: Sun Sep 22, 2002 6:13 pm    Post subject: Reply with quote

Any idea what those (broken) things might be? I thought I had gtk2 set as a USE flag, but it seems I didn't (I checked)...
Back to top
View user's profile Send private message
maxpower
n00b
n00b


Joined: 07 Aug 2002
Posts: 65
Location: South Korea

PostPosted: Sun Sep 22, 2002 6:20 pm    Post subject: Plugins Reply with quote

Well, the subject says it all. Expect to have major troubles with your plugins when using gtk2. If you are already using gcc3.2 then you may be having plugin problems already.

mAx
Back to top
View user's profile Send private message
dioxmat
Bodhisattva
Bodhisattva


Joined: 04 May 2002
Posts: 709
Location: /home/mat

PostPosted: Sun Sep 22, 2002 8:03 pm    Post subject: Reply with quote

aa in mozilla works quite well with gtk1 and freetype. I've posted this many times in the past, check out the forums.
Back to top
View user's profile Send private message
geders
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2002
Posts: 76
Location: Purdue

PostPosted: Sun Sep 22, 2002 8:22 pm    Post subject: Reply with quote

Quote:
aa in mozilla works quite well with gtk1 and freetype. I've posted this many times in the past, check out the forums.


dioxmat, did you do these postings under a different name? I can't seem to find it, but the search engine has never worked terribly well for me anyway...
Back to top
View user's profile Send private message
zepar
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2002
Posts: 107

PostPosted: Sun Sep 22, 2002 8:47 pm    Post subject: Reply with quote

dioxmat wrote:
aa in mozilla works quite well with gtk1 and freetype. I've posted this many times in the past, check out the forums.


yes, it works with gtk1, but some pages dont do aa (like www.slashdot.org), if i compile with gtk2 they all do aa, but plug-ins dont work.
Any ideia how to fix this?

I use mozilla 1.1-rc1 compiled with gtk1
Back to top
View user's profile Send private message
geders
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2002
Posts: 76
Location: Purdue

PostPosted: Sun Sep 22, 2002 8:57 pm    Post subject: Reply with quote

Well, I've checked the "unix.js" file, and its the same as what everyone else is using (and claims to get aa in mozilla). As for sites other than www.slashdot.org, I don't see aa as good as Windows...but then again, I haven't gotten subpixel hinting to work right either...
Back to top
View user's profile Send private message
zepar
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2002
Posts: 107

PostPosted: Sun Sep 22, 2002 10:12 pm    Post subject: Reply with quote

Well i have perfect aa fonts in many sites including this forum, but some sites like slashdot aa dont work
Back to top
View user's profile Send private message
zepar
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2002
Posts: 107

PostPosted: Sun Sep 22, 2002 10:23 pm    Post subject: Reply with quote

geders wrote:
Well, I've checked the "unix.js" file, and its the same as what everyone else is using (and claims to get aa in mozilla). As for sites other than www.slashdot.org, I don't see aa as good as Windows...but then again, I haven't gotten subpixel hinting to work right either...


The only thing i changed in unix.js was this part:

pref("font.FreeType2.enable", true);
pref("font.freetype2.shared-library", "libfreetype.so.6");
// if libfreetype was built without hinting compiled in
// it is best to leave hinting off
pref("font.FreeType2.autohinted", true);
pref("font.FreeType2.unhinted", true);
// below a certian pixel size anti-aliased fonts produce poor results
pref("font.antialias.min", 6);
pref("font.embedded_bitmaps.max", 1000000);
pref("font.scale.tt_bitmap.dark_text.min", 64);
pref("font.scale.tt_bitmap.dark_text.gain", "0.1");
Back to top
View user's profile Send private message
dioxmat
Bodhisattva
Bodhisattva


Joined: 04 May 2002
Posts: 709
Location: /home/mat

PostPosted: Mon Sep 23, 2002 8:19 am    Post subject: Reply with quote

zepar wrote:
Well i have perfect aa fonts in many sites including this forum, but some sites like slashdot aa dont work


thats because they specify a font that you have in a non aa version.
disable web site fonts, or find the font the site want, make an alias to the aa font, re-create mozilla's font cache and you're done.

(btw, posted with that account those tips dozens time before.)
Back to top
View user's profile Send private message
Pitr
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2002
Posts: 90

PostPosted: Mon Sep 23, 2002 11:31 am    Post subject: Reply with quote

Try linking against this freetype hack - this should provide you with pretty fonts - I would think it also would better your problem.

http://www.cs.mcgill.ca/~dchest/xfthack/
Back to top
View user's profile Send private message
zepar
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2002
Posts: 107

PostPosted: Mon Sep 23, 2002 3:27 pm    Post subject: Reply with quote

Pitr wrote:
Try linking against this freetype hack - this should provide you with pretty fonts - I would think it also would better your problem.

http://www.cs.mcgill.ca/~dchest/xfthack/


Hum, i already have the xft hack, it make kde aa fonts look good:

http://homepage.ntlworld.com/ian.goldby/misc/fontcomp.html

So now there is a freetype hack ??

ok, how to make it work with mozilla?
Back to top
View user's profile Send private message
dioxmat
Bodhisattva
Bodhisattva


Joined: 04 May 2002
Posts: 709
Location: /home/mat

PostPosted: Mon Sep 23, 2002 3:37 pm    Post subject: Reply with quote

the author has updated his hack, and now its a freetype hack :)
nevertheless, if you have freetype in your USE flag mozilla should be compiled with freetype support and look good, without that patch.
Back to top
View user's profile Send private message
Pitr
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2002
Posts: 90

PostPosted: Mon Sep 23, 2002 3:58 pm    Post subject: Reply with quote

dioxmat wrote:
the author has updated his hack, and now its a freetype hack :)
nevertheless, if you have freetype in your USE flag mozilla should be compiled with freetype support and look good, without that patch.


It can always look better - and this... DAMN !! 8) 8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum