Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Font problem in Mozilla 1.1
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
dcstimm
Guru
Guru


Joined: 19 Jun 2002
Posts: 321

PostPosted: Wed Aug 28, 2002 2:47 am    Post subject: Font problem in Mozilla 1.1 Reply with quote

Hello,

Today I renamed the mozilla-1.1beta ebuild to mozilla 1.1 to install it, everything went smooth but the fonts in mozilla 1.1 look horrible. I was playing with fonts before and I was lucky enough to take a screenshot of before and after.

here are the links

Mozilla 1.1 BAD

Mozilla 1.1b GOOD

I constructed a font test that tests to see if Mozilla can view truetype Microsoft fonts

http://www.darylstimm.com/fonttest.html

can any one tell my what is wrong with the Text in Mozilla 1.1? The only thing I changed was the name of the ebuild.

here is my use variables I used to compile both:

USE="gtk2 freetype truetype sse mmx dvd decss"

Thanks!
Back to top
View user's profile Send private message
simcop2387
Apprentice
Apprentice


Joined: 14 Aug 2002
Posts: 200
Location: Galactic Sector ZZ9 Plural Z Alpha

PostPosted: Wed Aug 28, 2002 2:52 am    Post subject: Reply with quote

maybe i'm wrong but i dont think that renaming an ebuild will change the software it installs
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Aug 28, 2002 2:54 am    Post subject: Reply with quote

The squished look can possibly come from an incorrect display resolution setting. You can possibly try starting your X server like so:
Code:

startx -- -dpi 100

or adding the "-dpi" option to /etc/X11/xdm/Xservers (for kdm) like so:
Code:

:0 local /usr/X11R6/bin/X -dpi 100


Not sure why 1.1 would be different from 1.1b, but worth a short since it is a simple fix if it works.


Last edited by Naan Yaar on Wed Aug 28, 2002 3:13 am; edited 1 time in total
Back to top
View user's profile Send private message
dcstimm
Guru
Guru


Joined: 19 Jun 2002
Posts: 321

PostPosted: Wed Aug 28, 2002 3:03 am    Post subject: Reply with quote

startx -- -dpi 100 fixed the squshed look but if you look at omikron and webdings they did not change... ANY ideas? also I type startx from the command line how do I set that option so I dont have to type it every time?

Also why is this just happening now? I didnt need startx -- -dpi 100 for mozilla 1.0-1.1b to have perfect fonts.

Thanks...
Back to top
View user's profile Send private message
dcstimm
Guru
Guru


Joined: 19 Jun 2002
Posts: 321

PostPosted: Wed Aug 28, 2002 3:05 am    Post subject: Reply with quote

Quote:
maybe i'm wrong but i dont think that renaming an ebuild will change the software it installs


Yes by renaming the ebuild it was able to download the new src.
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Aug 28, 2002 3:20 am    Post subject: Reply with quote

Can you take a look at the "Edit->Preferences->Appearance->Fonts" settings. Looks like the "Display resolution" may have reverted to "System setting" and "Allow documents to use other fonts" may have been turned off with the upgrade (just a guess).

For startx, I guess you could create an alias to save you some typing.
dcstimm wrote:
startx -- -dpi 100 fixed the squshed look but if you look at omikron and webdings they did not change... ANY ideas? also I type startx from the command line how do I set that option so I dont have to type it every time?

Also why is this just happening now? I didnt need startx -- -dpi 100 for mozilla 1.0-1.1b to have perfect fonts.

Thanks...
Back to top
View user's profile Send private message
dcstimm
Guru
Guru


Joined: 19 Jun 2002
Posts: 321

PostPosted: Wed Aug 28, 2002 3:38 am    Post subject: Reply with quote

startx -- -dpi 100 is good for mozilla but it makes other programs look horrible, like gaim..

there has to be another way to fix this.


Allow Documents to use other fonts has a check in it

Display resolution is set to System Setting. My other options are 72dpi and 96dpi.

I heard Windows uses 72dpi and Mac uses 96dpi so which one would I use?

Any more ideas?
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Aug 28, 2002 3:45 am    Post subject: Reply with quote

Hmmm... I don't use gaim, but I use the -dpi 100 setting always since it makes fonts look better in kde/mozilla (they look too small or squished otherwise).

96dpi would be typically closer to your monitor. If you do "xdpyinfo | grep dimensions", you will see the pixel count and monitor size, from which you can compute the dpi.

dcstimm wrote:
startx -- -dpi 100 is good for mozilla but it makes other programs look horrible, like gaim..

there has to be another way to fix this.


Allow Documents to use other fonts has a check in it

Display resolution is set to System Setting. My other options are 72dpi and 96dpi.

I heard Windows uses 72dpi and Mac uses 96dpi so which one would I use?

Any more ideas?
Back to top
View user's profile Send private message
dcstimm
Guru
Guru


Joined: 19 Jun 2002
Posts: 321

PostPosted: Wed Aug 28, 2002 8:09 am    Post subject: Reply with quote

I was able to fix it by removing gtk2 from my use and recompiling....

I guess the gtk2 patches need to be updated.. galeon.sf.net has a good how-to so you can use gtk2 with mozilla and galeon2...

I wish we could see some experimental ebuilds that would be able to do that...

Oh well my fonts look good again! I just understand because 1.1b was compiled using gtk2 in the use and they shared the same ebuild. I even recompiled 1.1b and it worked fine with gtk2 in the use.

Oh well maybe it has to do with the gtk2 patch....
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