Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
32-Bit Firefox:Freaky Fonts, Frustrating Freezes [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Thu Aug 09, 2007 10:58 pm    Post subject: 32-Bit Firefox:Freaky Fonts, Frustrating Freezes [SOLVED] Reply with quote

Dear friends,

Firefox-bin 2.0.5 on my amd64 system is unhappy. First of all, the fonts in, for example, the open file dialog are all boxy, as if the font needs to be installed or something. The same problem exists in AcroRead, FWIW. I think some of the fonts are screwed up in other ways too, looking at this text it seems to be using a very poor font. Here's a screenshot of the font problem, just so we're clear.

Firefox also seems to enjoy crashing occasionally. I am not sure if it's flash or java causing this, but it's almost certainly one or the other.

I switched over to 32-bit firefox so I could have a 1.6 Sun JRE installed and working without crashing firefox. But it seems to merely have made matters worse...

Any Ideas?
Sincerely,
Dan Farrell
PS Please forgive me if the answer has been staring me in the face. I've searched for it a few times but It eludes me still.

Update:
This post from below should solve the problem nicely.
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!


Last edited by erik258 on Mon Aug 13, 2007 4:40 pm; edited 2 times in total
Back to top
View user's profile Send private message
Shazam
Apprentice
Apprentice


Joined: 23 Nov 2004
Posts: 191
Location: Germany

PostPosted: Thu Aug 09, 2007 11:22 pm    Post subject: Reply with quote

Hi there!

This could be a font problem, but it could also be an character encoding problem. what LC Variables are you using?

Type in 'locale' to see what variables are set (in case you haven't set them up)
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Thu Aug 09, 2007 11:29 pm    Post subject: Reply with quote

Shazam,

Thanks for the quick reply! I may have set them to 'POSIX' while playing around previously, or maybe not. Anyway, that's what they're set to.
`locale`:

LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
Shazam
Apprentice
Apprentice


Joined: 23 Nov 2004
Posts: 191
Location: Germany

PostPosted: Thu Aug 09, 2007 11:49 pm    Post subject: Reply with quote

well, that's the default setting, which is more or less English. Could have thought off that, hence you live in the States ..

bad thing, can't help you any further, except for reemerging packages that have something to do with fonts.

only some more or less practical ideas:

1) with emerge -s font you should get every package available in portage which has something to do with fonts.
now i only would reemerge all packages which are installed.
o, and if you do, i would add the --oneshot option to emerge, as it only remerges the packages, but doesn't change your world file.

2) or take a look at your /etc/X11/xorg.conf and make sure, you didn't select a weird keymap.

3) does emerge -aND world want to emerge new packages? and if so, what packages? (portage tree does NOT need to be synced for this)

well, maybe this'll help you.
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Thu Aug 09, 2007 11:51 pm    Post subject: Reply with quote

I tried changing LC_ALL to 'en_US.utf8' but to no avail. I also noticed, since I was running firefox-bin from the command line, these messages:
firefox-bin output:
(firefox-bin:24633): Pango-WARNING **: /emul/linux/x86/usr/lib/pango/1.5.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:24633): Pango-WARNING **: _pango_cairo_font_install called with bad font, expect ugly output


The first repeats many times; the second, only a few.
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Thu Aug 09, 2007 11:57 pm    Post subject: Reply with quote

Shazam wrote:
well, that's the default setting, which is more or less English. Could have thought off that, hence you live in the States ..

bad thing, can't help you any further, except for reemerging packages that have something to do with fonts.

Well I certainly appreciate the attempt.
Quote:

only some more or less practical ideas:

1) with emerge -s font you should get every package available in portage which has something to do with fonts.
now i only would reemerge all packages which are installed.
o, and if you do, i would add the --oneshot option to emerge, as it only remerges the packages, but doesn't change your world file.

That might be a good direction to go in as a last resort.
Quote:

2) or take a look at your /etc/X11/xorg.conf and make sure, you didn't select a weird keymap.

No, nothing like that, but thanks.
Quote:

3) does emerge -aND world want to emerge new packages? and if so, what packages? (portage tree does NOT need to be synced for this)


Yes, tons. 156 packages are now being updated. This was a good though, thank you. I don't know if it will fix the problem but it looks like I turned on the truetype use flag long after I installed lots of this stuff. Anyway, its clearly time to sync up the packages with the use flag settings regardless of whether that's the issue here.
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
Shazam
Apprentice
Apprentice


Joined: 23 Nov 2004
Posts: 191
Location: Germany

PostPosted: Thu Aug 09, 2007 11:58 pm    Post subject: Reply with quote

mm, sounds like remerging pango could do it.

try a revdep-rebuild, this usually checks for broken libs and reemerges them.
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Thu Aug 09, 2007 11:59 pm    Post subject: Reply with quote

Pango, and maybe Cairo too. A good next step after the emerge completes.

Thanks again Shazam for the advice. This is starting to annoy me.
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Fri Aug 10, 2007 3:09 am    Post subject: Reply with quote

Yep, looks like that did it.

proof

Thanks again.
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
Shazam
Apprentice
Apprentice


Joined: 23 Nov 2004
Posts: 191
Location: Germany

PostPosted: Fri Aug 10, 2007 6:55 am    Post subject: Reply with quote

well, then add the [solved] to the topic. (edit the first entry you made)
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Mon Aug 13, 2007 4:38 pm    Post subject: Reply with quote

A Better Solution to this problem, I have discovered after updating my system again and noticing that it resurfaced, is

Code:
emerge emul-linux-x86-gtklibs


It only takes a few seconds.
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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