View previous topic :: View next topic |
Author |
Message |
geders Tux's lil' helper
Joined: 19 Jun 2002 Posts: 76 Location: Purdue
|
Posted: Sun Sep 22, 2002 4:48 pm Post subject: Mozilla Font Rendering |
|
|
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 |
|
|
orochi Tux's lil' helper
Joined: 02 Aug 2002 Posts: 76
|
Posted: Sun Sep 22, 2002 5:54 pm Post subject: gtk2 is the answer |
|
|
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 |
|
|
geders Tux's lil' helper
Joined: 19 Jun 2002 Posts: 76 Location: Purdue
|
Posted: Sun Sep 22, 2002 6:13 pm Post subject: |
|
|
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 |
|
|
maxpower n00b
Joined: 07 Aug 2002 Posts: 65 Location: South Korea
|
Posted: Sun Sep 22, 2002 6:20 pm Post subject: Plugins |
|
|
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 |
|
|
dioxmat Bodhisattva
Joined: 04 May 2002 Posts: 709 Location: /home/mat
|
Posted: Sun Sep 22, 2002 8:03 pm Post subject: |
|
|
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 |
|
|
geders Tux's lil' helper
Joined: 19 Jun 2002 Posts: 76 Location: Purdue
|
Posted: Sun Sep 22, 2002 8:22 pm Post subject: |
|
|
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 |
|
|
zepar Tux's lil' helper
Joined: 28 Jul 2002 Posts: 107
|
Posted: Sun Sep 22, 2002 8:47 pm Post subject: |
|
|
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 |
|
|
geders Tux's lil' helper
Joined: 19 Jun 2002 Posts: 76 Location: Purdue
|
Posted: Sun Sep 22, 2002 8:57 pm Post subject: |
|
|
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 |
|
|
zepar Tux's lil' helper
Joined: 28 Jul 2002 Posts: 107
|
Posted: Sun Sep 22, 2002 10:12 pm Post subject: |
|
|
Well i have perfect aa fonts in many sites including this forum, but some sites like slashdot aa dont work |
|
Back to top |
|
|
zepar Tux's lil' helper
Joined: 28 Jul 2002 Posts: 107
|
Posted: Sun Sep 22, 2002 10:23 pm Post subject: |
|
|
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 |
|
|
dioxmat Bodhisattva
Joined: 04 May 2002 Posts: 709 Location: /home/mat
|
Posted: Mon Sep 23, 2002 8:19 am Post subject: |
|
|
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 |
|
|
Pitr Tux's lil' helper
Joined: 23 Jun 2002 Posts: 90
|
Posted: Mon Sep 23, 2002 11:31 am Post subject: |
|
|
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 |
|
|
zepar Tux's lil' helper
Joined: 28 Jul 2002 Posts: 107
|
|
Back to top |
|
|
dioxmat Bodhisattva
Joined: 04 May 2002 Posts: 709 Location: /home/mat
|
Posted: Mon Sep 23, 2002 3:37 pm Post subject: |
|
|
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 |
|
|
Pitr Tux's lil' helper
Joined: 23 Jun 2002 Posts: 90
|
Posted: Mon Sep 23, 2002 3:58 pm Post subject: |
|
|
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 !! |
|
Back to top |
|
|
|