LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-18-2008, 12:39 AM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Firefox Font Display Anomaly


With my testing of Slackware Current I ran into an interesting Firefox anomaly.

When I installed Current to my testing partitions I did not update to Firefox 3.03. I kept version 2.0.0.17 installed. (I need to research and update/test all add-ons before moving to version 3.x.) Therefore all program files are the same in both 12.1 and Current, all chrome and content style sheets, the same prefs.js and user.js, etc.

When I opened a page from my web site in Current I noticed the font was different:

Current Snapshot

12.1 Snapshot

As might be expected, I thought the problem was with something in Current. After some head scratching I finally realized the page was rendering correctly in Current and not in 12.1. The style sheet calls for:

font-family: Arial, Verdana, Helvetica, Geneva, sans-serif;

I have all of these fonts installed on my system.

As can be seen by the snapshots, the page is correctly using Arial in Current but Verdana in 12.1.

I've tried various sequential combinations for the style sheet font order, and they all display as expected in 12.1 except when Arial is placed first in the order. In 12.1, Firefox ignores the style sheet directive to first use Arial. I can manually configure the fonts preferences to ignore the style sheet and then Firefox displays Arial when I select that font as the default. I also use Arial as my system font for my KDE menus, toolbars, desktop, etc. The problem is not the Arial font.

Yet there is no such problem in Current. Firefox correctly displays the font that is first in the style sheet order.

Loading Firefox in safe-mode did not change the results. Creating a new profile did not. Creating a new profile and using safe mode did not help. The problem affects all user accounts. The page display correctly with Arial in Konqueror in both 12.1 and Current. The problem occurs in Xfce too. No other app is affected.

I'm glad the page displays correctly in Current but I'd appreciate help learning what is causing this font display anomaly in 12.1.

I think Verdana is more readable on screen than Arial. I plan to modify the style sheet accordingly, but I'm puzzled by this display anomaly.

Thanks for any help.
 
Old 10-18-2008, 05:22 PM   #2
darthaxul
Member
 
Registered: Aug 2008
Distribution: Devuan; Gentoo; FreeBSD
Posts: 236

Rep: Reputation: 19
xorg setting

It might be ur missing font locations used in ur xorg.conf file is not loading. If u dont set font file paths in xorg.conf it uses some weird font colors and text.
 
Old 10-18-2008, 11:17 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
xorg.conf is okay. As I stated, I use Arial as one of my system fonts so the path can't be a problem.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
firefox font display problem spx2 Linux - Newbie 3 01-17-2006 11:46 AM
firefox font display problem spx2 Linux - Newbie 1 01-17-2006 08:08 AM
Can not display bold font in Mozilla firefox can not be displayed! septanla Ubuntu 1 04-24-2005 11:01 AM
TrueType Font Display and long font names jdeka Slackware 0 06-28-2003 03:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration