Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mozilla Font Experiments
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Cloney
n00b
n00b


Joined: 10 Oct 2003
Posts: 65

PostPosted: Thu Jan 29, 2004 12:41 pm    Post subject: Mozilla Font Experiments Reply with quote

I'm running Mozilla 1.6 under KDE 3.1.5, on x86, mostly stuff from stable.

If I build Mozilla using gtk1 and without Xft, most webpages look exactly as they should, but very small fonts turn into a sort of mass of gibberish. Look at http://www.amberfisharts.com for a good example.

If I build Mozilla using gtk1 with Xft, then most pages look exactly as they should, and small fonts display correctly. However, the default font for the Mozilla menus is too small (fixable by hacking userChrome.css) and the default font used on PhBB/Invision forums (such as this one) is too small - much smaller than the no-Xft equivalent, or the Konquerer equivalent. Changing the font settings doesn't seem to remedy this - the only thing that has any effect is shifting the DPI to 72 DPI, which then makes the fonts the right size for PhBB/Invision, but too big for anything else.

If I build Mozilla using gtk2 and Xft, then I have all the problems of the gtk1+Xft build, but Mozilla also sets the menu fonts to be the same as the default page rendering font; this is hideous.

I've tried asking in #mozillazine on irc.mozilla.org, but they're all singularly unhelpful. Anyone here managed to build Mozilla in a way that gives satisfactory fonts under KDE? It's driving me mad.

On the plus side, hurrah for ccache! After the first Mozilla build (2 hours), subsequent builds were only 45 minutes (I have a 900Mhz Athlon T-Bird).

Cloney
Back to top
View user's profile Send private message
raluke
n00b
n00b


Joined: 11 Aug 2002
Posts: 56
Location: Maryland, USA

PostPosted: Thu Jan 29, 2004 12:49 pm    Post subject: Reply with quote

Me too! If Konqueror could stop popups, I wouldn't use Mozilla nearly as much.
Back to top
View user's profile Send private message
sindre
Guru
Guru


Joined: 01 Nov 2002
Posts: 315
Location: Norway

PostPosted: Thu Jan 29, 2004 1:04 pm    Post subject: Reply with quote

Tried changing this in /usr/lib/mozilla/defaults/pref/unix.js?
Code:
<pref("font.FreeType2.enable", false);
>pref("font.FreeType2.enable", true);

<pref("font.FreeType2.unhinted", true);
>pref("font.FreeType2.unhinted",false);


you might want experiment with these too:
Code:
pref("font.antialias.min",        6);
pref("font.directory.truetype.1", "/usr/X11R6/lib/X11/fonts/truetype");
pref("font.scale.aa_bitmap.always", true);


This at least will enable freetype and anti-aliasing if I remember correctly from using gtk1 mozilla.
Back to top
View user's profile Send private message
karmapolice
n00b
n00b


Joined: 10 Jan 2004
Posts: 54

PostPosted: Fri Jan 30, 2004 8:46 am    Post subject: Reply with quote

i see you already mentioned the userChrome.css hack. i used that for Firebird (built with gtk2 and xft), and it worked great.

Code:

* {
     font-size: 8pt !important
   }



thanks for the kde font setup how-to thread BTW :)
_________________
this is what you get.
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