LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   firefox 3 font rendering bug? (https://www.linuxquestions.org/questions/general-10/firefox-3-font-rendering-bug-777118/)

smeezekitty 12-20-2009 07:11 PM

firefox 3 font rendering bug?
 
1 Attachment(s)
The font in the screenshot should not be script.

MTK358 12-20-2009 07:45 PM

I don't know, maybe it's Vista, maybe you don't have the right fonts, or maybe that font has the name of the font the site calls for.

Works fine for me (in Linux, I don't have "M$ Ickdows Vista"):

smeezekitty 12-20-2009 07:55 PM

Quote:

Originally Posted by MTK358 (Post 3799375)
I don't know, maybe it's Vista, maybe you don't have the right fonts, or maybe that font has the name of the font the site calls for.

Works fine for me (in Linux, I don't have "M$ Ickdows Vista"):

I just upgraded to 3.5.6 and its REALLY FAST but the bug is still there.

MTK358 12-20-2009 07:58 PM

I looked at the source of the web page (right-click in the page and choose "View Page Source") and it seems to mension the font "FreeSans" a lot. Maybe that font you see is called "FreeSans" in Windows?

lidex 12-20-2009 08:02 PM

Looks like the page is calling for "FreeSans". Betcha don't have that installed in Vista.

Quote:

<div id="Warnings"> <img style="border: 0px solid ; width: 48px; height: 48px; float: left;" alt="" src="images/dialog-warning.png" hspace="2" /><big style="font-family: FreeSans;"><span style="color: red; font-weight: bold;">WARNING: you will
have to remove the driver you installed with Envy before upgrading
Debian or Ubuntu to a newer release (e.g. upgrading Ubuntu Edgy to
Ubuntu Feisty or Debian Etch to Debian Lenny).</span></big>
<div style="font-weight: bold; font-family: FreeSans;"><br />
You will have to type the following command:<br /><br />
<em>sudo envy --uninstall-all</em>
<br />
[<strong>NOTE: This is no longer necessary with EnvyNG</strong>]
</div>

smeezekitty 12-20-2009 08:12 PM

I downloaded the fonts from http://savannah.gnu.org/projects/freefont/.
Web developers should know to use web safe fonts.

MTK358 12-20-2009 08:17 PM

The "free" fonts are the standard in free/open source Linux distros.

smeezekitty 12-20-2009 08:24 PM

Quote:

Originally Posted by MTK358 (Post 3799393)
The "free" fonts are the standard in free/open source Linux distros.

hmmm, we should complain to M$ to include the GNU fonts.

MTK358 12-21-2009 07:14 AM

I thought that that font is more properly called "DejaVu Sans", not "FreeSans", and I think I saw "DejaVu Sans" in Windows (but I am not sure).

And something funny I noticed is that the fonts "Sans", "Serif", and "Monospaced" are actually the same as "DejaVu Sans", "DejaVu Serif", and "DejaVu Sans Mono", respecively in all the GNU/Linux distros I tried.

So I think that that web site's developer should just be writing "DejaVu Sans" instead of "FreeSans" and then the site would look as intended in Linux and Windows.

lidex 12-22-2009 12:42 AM

You can enter whatever font you want for a web page but the viewer has to have that font in his system for it to be displayed. The mistake in the html coding was not supplying fallback entries , which should always end with a generic font-family. So, "font-family: FreeSans,san-serif;" would be a simple fix. Nothing wrong with smeezekitty's fonts/browser.

smeezekitty 12-22-2009 01:28 AM

Quote:

Originally Posted by lidex (Post 3800855)
You can enter whatever font you want for a web page but the viewer has to have that font in his system for it to be displayed. The mistake in the html coding was not supplying fallback entries , which should always end with a generic font-family. So, "font-family: FreeSans,san-serif;" would be a simple fix. Nothing wrong with smeezekitty's fonts/browser.

correct.


All times are GMT -5. The time now is 05:41 AM.