View previous topic :: View next topic |
Author |
Message |
dcstimm Guru
Joined: 19 Jun 2002 Posts: 321
|
Posted: Wed Aug 28, 2002 2:47 am Post subject: Font problem in Mozilla 1.1 |
|
|
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 |
|
|
simcop2387 Apprentice
Joined: 14 Aug 2002 Posts: 200 Location: Galactic Sector ZZ9 Plural Z Alpha
|
Posted: Wed Aug 28, 2002 2:52 am Post subject: |
|
|
maybe i'm wrong but i dont think that renaming an ebuild will change the software it installs |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Wed Aug 28, 2002 2:54 am Post subject: |
|
|
The squished look can possibly come from an incorrect display resolution setting. You can possibly try starting your X server like so:
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 |
|
|
dcstimm Guru
Joined: 19 Jun 2002 Posts: 321
|
Posted: Wed Aug 28, 2002 3:03 am Post subject: |
|
|
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 |
|
|
dcstimm Guru
Joined: 19 Jun 2002 Posts: 321
|
Posted: Wed Aug 28, 2002 3:05 am Post subject: |
|
|
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 |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Wed Aug 28, 2002 3:20 am Post subject: |
|
|
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 |
|
|
dcstimm Guru
Joined: 19 Jun 2002 Posts: 321
|
Posted: Wed Aug 28, 2002 3:38 am Post subject: |
|
|
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 |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Wed Aug 28, 2002 3:45 am Post subject: |
|
|
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 |
|
|
dcstimm Guru
Joined: 19 Jun 2002 Posts: 321
|
Posted: Wed Aug 28, 2002 8:09 am Post subject: |
|
|
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 |
|
|
|