Martin DiViaio on Mon, 10 Mar 2003 00:05:13 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] mozilla goes south, huge fonts in menu



In the XF86Config file, there should be a list of "FontPath"s. They are 
processed in the order they are listed there. Since a number of fonts 
could match the way X tries to find the "correct" font, changing the paths 
around may correct your problem. It can also make matters worse, so be 
careful and log everything you do in case you need to change it back 
again.

The fonts you have installed may or may not be relevent. It depends on 
when/if X is looking in their install directories. (Don't bet on it till 
you check for yourself.)

The most common thing done is to make sure that the 75dpi fonts are listed 
before the 100dpi fonts. That's if you have a display with a limited 
resolution. (This is usually the other way around when X is installed.)

Also check if you are running xfs or xfstt. Either one of these could also 
cause some problems with fonts if they are not configured correctly. 
(Again, if X is actually using them. You should see one or more socket 
listings in the FontPath directives.)



--
GPG Fingerprint: C900 18EF 0C36 4EAF A93C  F073 85D4 8B3C F3D8 077B

On the 9th day of March in the year 2003 you wrote:

> Date: Sun, 9 Mar 2003 21:15:03 -0500
> From: Jeff Abrahamson <jeff@purple.com>
> To: Philly Linux Users Group <plug@lists.phillylinux.org>
> Subject: Re: [PLUG] mozilla goes south, huge fonts in menu
> 
> On Sun, Mar 09, 2003 at 04:41:13AM -0500, Arthur S. Alexion wrote:
> > Is it possible that the .mozilla user directory is generated by copying
> > a directory (or some files) from somewhere on the main /usr/mozilla
> > tree, and that you keep replicating the corrupted version of prefs.js?
> 
> There is, indeed, an /etc/mozilla/prefs.js. I tried moving that out of
> the way, too. Didn't help.
> 
> Playing with galeon, I've concluded that it's something with the
> mozilla rendering engine (shared with galeon). But it's very odd. I've
> tried using a blank user for this, and it happens there, too.
> 
> But, wow, on a hunch, I just pretty much confirmed that it's X. I ssh
> -X'd to another machine and launched mozilla from there, so displaying
> on my current X server. It came up with huge fonts. There's no reason
> to believe this other machine had changed in the same way, although it
> had rebooted also. I launched with /usr/lib/mozilla/mozilla-bin, so
> it's a remote process for sure, confirmed with ps.
> 
> 
> Hmm, I recall that I did install a whole slew of new fonts a while
> back, perhaps it's one of them. Here's what I've got installed, in
> case someone knows enough about fonts to hazard a guess. I'm running
> debian sarge, but haven't upgraded since Friday (when I upgraded
> hoping to fix this).
> 
> -Jeff
> 
> 
> jeff@asterix:jeff $ dpkg -l '*font*'|grep ii
> ii  gsfonts        6.0-2.1        Fonts for the ghostscript interpreter
> ii  gsfonts-x11    0.16           Make Ghostscript fonts available to X11.
> ii  psfontmgr      0.11.1         PostScript font manager -- part of Defoma, D
> ii  scalable-cyrfo 3.2            scalable Cyrillic fonts
> ii  scalable-cyrfo 3.2            scalable Cyrillic fonts for TeX
> ii  scalable-cyrfo 3.2            scalable Cyrillic fonts for X
> ii  xfonts-100dpi  4.2.1-3        100 dpi fonts for X
> ii  xfonts-75dpi   4.2.1-3        75 dpi fonts for X
> ii  xfonts-base    4.2.1-3        standard fonts for X
> ii  xfonts-bolkhov 1.1.20001007-3 75 dpi Unicode Cyrillic fonts for X (Cyr-RFX
> ii  xfonts-bolkhov 1.1.20001007-3 75 dpi CP1251 encoded Cyrillic fonts for X (
> ii  xfonts-bolkhov 1.1.20001007-3 Character-cell CP1251 encoded Cyrillic fonts
> ii  xfonts-bolkhov 1.1.20001007-3 75 dpi ISO 8859-5 encoded Cyrillic fonts for
> ii  xfonts-bolkhov 1.1.20001007-3 Character-cell ISO-8859-5 encoded Cyrillic f
> ii  xfonts-bolkhov 1.1.20001007-3 75 dpi KOI8-R encoded Cyrillic fonts for X (
> ii  xfonts-bolkhov 1.1.20001007-3 Character-cell KOI8-R encoded Cyrillic fonts
> ii  xfonts-bolkhov 1.1.20001007-3 75 dpi KOI8-U encoded Cyrillic fonts for X (
> ii  xfonts-bolkhov 1.1.20001007-3 Character-cell KOI8-U encoded Cyrillic fonts
> ii  xfonts-bolkhov 1.1.20001007-3 Character-cell Unicode Cyrillic fonts for X 
> ii  xfonts-cronyx- 2.3.8-2        100 dpi Unicode Cyrillic fonts for X (Cronyx
> ii  xfonts-cronyx- 2.3.8-2        75 dpi Unicode Cyrillic fonts for X (Cronyx 
> ii  xfonts-cronyx- 2.3.8-2        100 dpi CP1251 encoded Cyrillic fonts for X 
> ii  xfonts-cronyx- 2.3.8-2        75 dpi CP1251 encoded Cyrillic fonts for X (
> ii  xfonts-cronyx- 2.3.8-2        Character-cell CP1251 encoded Cyrillic fonts
> ii  xfonts-cronyx- 2.3.8-2        100 dpi ISO 8859-5 encoded Cyrillic fonts fo
> ii  xfonts-cronyx- 2.3.8-2        75 dpi ISO 8859-5 encoded Cyrillic fonts for
> ii  xfonts-cronyx- 2.3.8-2        Character-cell ISO-8859-5 encoded Cyrillic f
> ii  xfonts-cronyx- 2.3.8-2        100 dpi KOI8-R encoded Cyrillic fonts for X 
> ii  xfonts-cronyx- 2.3.8-2        75 dpi KOI8-R encoded Cyrillic fonts for X (
> ii  xfonts-cronyx- 2.3.8-2        Character-cell KOI8-R encoded Cyrillic fonts
> ii  xfonts-cronyx- 2.3.8-2        100 dpi KOI8-U encoded Cyrillic fonts for X 
> ii  xfonts-cronyx- 2.3.8-2        75 dpi KOI8-U encoded Cyrillic fonts for X (
> ii  xfonts-cronyx- 2.3.8-2        Character-cell KOI8-U encoded Cyrillic fonts
> ii  xfonts-cronyx- 2.3.8-2        Character-cell Unicode Cyrillic fonts for X 
> ii  xfonts-cyrilli 4.2.1-3        Cyrillic fonts for X
> ii  xfonts-efont-u 0.4.0-4        /efont/ Unicode fonts for X which cover vari
> ii  xfonts-efont-u 0.4.0-4        /efont/ Unicode fonts for X (italic and bold
> ii  xfonts-intl-eu 1.2-4          International fonts for X -- European.
> ii  xfonts-intl-ph 1.2-4          International fonts for X -- Phonetic Alphab
> ii  xfonts-pex     4.1.0-16       fonts for minimal PEX support in X
> ii  xfonts-scalabl 4.2.1-3        scalable fonts for X
> jeff@asterix:jeff $ 
> 
> 
> (Rest of thread follows, for those who might want.)
> 
> > On Fri, 2003-03-07 at 17:16, Jeff Abrahamson wrote:
> > > That would make sense, except that this happens even when I move
> > > ~/.mozilla out of the way. (Same thing happens on a different user, so
> > > it's not some other directory of mine being corrupt.)
> > > 
> > > The mystery persists...
> > > 
> > > -J
> > > 
> > > 
> > > On Fri, Mar 07, 2003 at 04:03:56PM -0500, LeRoy Cressy wrote:
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > Hash: SHA1
> > > > 
> > > > ~/.mozilla/.../.../prefs.js you are probably looking for something like:
> > > > 
> > > > user_pref("font.minimum-size.x-western", 14);
> > > > user_pref("font.name.cursive.x-western", "adobe-avant garde 
> > > > gothic-iso8859-1");
> > > > user_pref("font.name.fantasy.x-western", "adobe-avant garde 
> > > > gothic-iso8859-1");
> > > > user_pref("font.size.fixed.x-western", 20);
> > > > user_pref("font.size.variable.x-western", 24);
> > > > 
> > > > Now your fixed font might be messed up
> > > > 
> > > > Jeff Abrahamson wrote:
> > > > >After a power outage, I restart mozilla and the menu fonts are
> > > > >enormous, 100 point or more. The browser (html rendered stuff) comes
> > > > >up normal, but there's precious little of it for all the menus and
> > > > >control bars.
> > > > >
> > > > >I try mv'ing ~/.mozilla to ~/.mozilla_bak, and relaunching mozilla,
> > > > >but now I get what I imagine is the first-time launch configuration
> > > > >dialog. The fonts are so big that I can't do anything, not even answer
> > > > >the question, because I only see a few words on my 20" monitor the
> > > > >type is so big.
> > > > >
> > > > >OK, so it's not in ~/.mozilla, and I don't find anything suspicious in
> > > > >my environment that would ask for such a thing. Any ideas what might
> > > > >be happening or how to fix it?
> 

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug