LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-30-2004, 05:27 PM   #1
elempoimen
Member
 
Registered: Nov 2004
Distribution: Ubuntu 5.04
Posts: 55

Rep: Reputation: 15
Firefox fonts render differently on Linux


Why do the fonts in Firefox seem to render differently under Linux than under Windows? the seem to render smaller, but not always. For example on one site I work on, the headings and body text look different on any windows browser (and in Konqueror), but they all look the same on Firefox on Linux--until I blow up the font size to 120%--and then the body text is too large and the heading text is wierd. I'm a web designer and this makes for some interesting challenges as I'm moving to Linux. Is there a way to fix it? I'm using the 1.0-3 release via DEB from Debian.org. Is is maybe a problem with the Debian release?
 
Old 11-30-2004, 05:41 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
All thats probably going on is the selection of which font to use, also the default sizes selected whithin the browser. Afterall its probably a safe bet that the fonts your using under windows are diffrent from thoose in Linux.

Also since people can adjust these to their own taste ( I have a minimum size of 8 and a medium of 10 regardless of what the site thinks is the right size ) trying to get everthing to look the same is going to be impossible. thats why a properly designed site should adjust dynamically to whatever size of font is being used using.
 
Old 11-30-2004, 07:11 PM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Is it an xft build of Mozilla? Read about fonts http://www.tldp.org/HOWTO/Font-HOWTO/ You can (if you have windows installed) drag and drop ttf fonts from windows/fonts to /usr/share/fonts (for system wide use) or to /home/user/.fonts (for your own use)
 
Old 12-01-2004, 12:14 AM   #4
elempoimen
Member
 
Registered: Nov 2004
Distribution: Ubuntu 5.04
Posts: 55

Original Poster
Rep: Reputation: 15
Unfortunately, I'm ahead of you on both points. I made a bad choice of words. It's not so much a rendering issue as a size and style issue. The font in question is specifically called by the page (Tahoma), and I do have it installed in Linux. Remember, it's not just Linux browsers in general, but also between Konqueror and Firefox. The same page can be loaded in the two browsers. In Konqueror it looks the same as in FF or IE on Windows. But in FF for Linux, it looks different. I've tried diddling with the font sizes, etc., but it does a limited amount of good.

I guess my question is this: if a font is called by a page to be an exact size, then it should render the same size in both browsers unless the user overrides it. I certainly have not overridden it in either browser. These are basically vanilla installs. In reality, I notice the same problem in Nvu for Linux as well. I guess I'm just wondering what the deal is. FF on Linux should, provided the required font resources are in place (and they are), render the same as FF in Windows, at least.
 
Old 12-01-2004, 12:17 AM   #5
elempoimen
Member
 
Registered: Nov 2004
Distribution: Ubuntu 5.04
Posts: 55

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by leonscape
Also since people can adjust these to their own taste ( I have a minimum size of 8 and a medium of 10 regardless of what the site thinks is the right size ) trying to get everthing to look the same is going to be impossible. thats why a properly designed site should adjust dynamically to whatever size of font is being used using.
I agree and know this. And I design with this in mind. But I'm not even getting bold vs. normal text to come out quite right. Go here: http://newhope.squarespace.com. Load it in both Konqueror and Firefox. The Konqueror rendering matches that of Windows' browsers (FF or IE). The Firefox rendering doesn't come close. If you Ctrl + Firefox, you'll probably get the right font weights, but then the size is all messed up. Not a huge issued, but a frustration.

A disclaimer: that site is not my design. I just maintain content there. It's basically a placeholder for a better site to come.
 
Old 12-01-2004, 07:57 PM   #6
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Hmm I see what you mean, I think it might be whatever lib Firefox is using to render the fonts, or theirs some imbuilt kerning option in the Linux version of Firefox thats making it render diffrently. It still looks good in either though.

I had to reset Firefiox to its tiny font defaults, ( why their so small is beyond me. ) but even at bigger sizes you could see what you meant.
 
Old 12-01-2004, 10:01 PM   #7
elempoimen
Member
 
Registered: Nov 2004
Distribution: Ubuntu 5.04
Posts: 55

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by leonscape
I had to reset Firefiox to its tiny font defaults, ( why their so small is beyond me. ) but even at bigger sizes you could see what you meant.
I guess that's my other question. Why are the defaults so small on Linux? The windows version isn't like that.

[rant] I guess I'm a little frustrated because the idea behind cross-platform software is that it basically works the same on all platforms. Firefox doesn't, which leaves me a little disappointed in the Mozilla Organization. Thunderbird is even worse. They still have the crappy icons from like .5 or .6 in there--the ones w/o proper alpha blending--for .9. We should have the same icons, at least, by .9.[/rant]

Thanks for letting me get that off my chest.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
why video card acts differently in linux exbootie Linux - Newbie 4 11-29-2005 01:34 PM
Getting sharper fonts in linux and Firefox GUIPenguin Linux - General 12 03-31-2005 10:38 AM
Java fonts in Linux Firefox & Gnome notify gaim madiyaan Linux - Newbie 0 01-05-2005 12:56 PM
Maya render on linux platform... lazlow69 Linux - Software 0 05-09-2004 03:36 PM
Monitor power off differently with Linux and Xp...!?? yarnar Linux - Software 1 11-16-2003 12:45 AM

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

All times are GMT -5. The time now is 11:55 AM.

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