675 posts
    Has referred 10+ members Has sold $10,000+ on Envato Market Has collected 10+ items on Envato Market Sells items exclusively on Envato Market
+6 more
dexterous says

Hi All,

I am having issue with Google Font to show correctly, issue is happening on firefox (on windows ) version 9.0.1

The font appears correct for chrome and IE9 . font that I am trying to use is Playball and it is becoming comic sans in FF on windows :-( ... any help ?

(note – previously I tried to use a different google font and that had issues on FF on mac too, I guess FF needs a special reset, or should I not use the ‘cursive’ family that google API suggests ?)

thanks.

675 posts
    Has referred 10+ members Has sold $10,000+ on Envato Market Has collected 10+ items on Envato Market Sells items exclusively on Envato Market
+6 more
dexterous says

Hi All,

Any solutions here? I am still facing the issue only on firefox (both on windows and Mac), however, I found one additional details that the font is not displayed correctly only when I apply bold font-weight to it.

So I go to google fonts, and tick that I want bold version too (700 weight), google gives me the css to add (which I add to my page), if I don’t apply font-weight then the font appears correctly (but it is not bold :() and if I apply font-weight, then font gets changed to the next one in the family.

Following are blocks of code I am using:

<link href='http://fonts.googleapis.com/css?family=Droid+Serif:700,400' rel='stylesheet' type='text/css'/>

And Later (in a separately loaded css which is asked to be loaded after the above code)

h1, h2, h3, h4, h5, h6 { font-family: 'Droid Serif', serif; font-weight: bold; margin-bottom:18px; }

Once again, works correctly on every other browser except Firefox.

Also, have checked with firebug that there is no style which resetting the styles later.

thanks.

4193 posts Community Mod Building awesome stuff for your mobile devices!
    Has referred 100+ members Has sold $125,000+ on Envato Market Has been a beta tester for an Envato feature Has collected 1+ items on Envato Market
+14 more
Enabled Volunteer moderator says

That’s strange. I had one problem like this before, but apparently, !important; fixed it. Give it a shot.

675 posts
    Has referred 10+ members Has sold $10,000+ on Envato Market Has collected 10+ items on Envato Market Sells items exclusively on Envato Market
+6 more
dexterous says

Thanks Enabled, tried !important that didn’t work, but found solution, I haven’t yet tested on all browsers, but adding subset=all while loading the font solved it for Firefox on Mac.

so now the css to load font looks as below: <link type="text/css" rel="stylesheet" href="http://fonts.googleapis.com/css?family=Droid+Serif:700normal&subset=all"/>

Also added the normal weight (700normal)

4193 posts Community Mod Building awesome stuff for your mobile devices!
    Has referred 100+ members Has sold $125,000+ on Envato Market Has been a beta tester for an Envato feature Has collected 1+ items on Envato Market
+14 more
Enabled Volunteer moderator says

Thanks Enabled, tried !important that didn’t work, but found solution, I haven’t yet tested on all browsers, but adding subset=all while loading the font solved it for Firefox on Mac. so now the css to load font looks as below: <link type="text/css" rel="stylesheet" href="http://fonts.googleapis.com/css?family=Droid+Serif:700normal&subset=all"/> Also added the normal weight (700normal)

I usually import them directly inside css @import. It works quite good. Try it, maybe that fixes the bug :P

2024 posts
    Elite Author: Sold more than $75,000 on Envato Market Has sold $250,000+ on Envato Market Sells items exclusively on Envato Market Contributed a free file of the month
+8 more
revaxarts says

Also added the normal weight (700normal)

Isn’t 100 “normal” rather 700 which is “bold”?

675 posts
    Has referred 10+ members Has sold $10,000+ on Envato Market Has collected 10+ items on Envato Market Sells items exclusively on Envato Market
+6 more
dexterous says


Also added the normal weight (700normal)
Isn’t 100 “normal” rather 700 which is “bold”?

Yes, you are right, and thats why I never wrote normal earlier, but then I just copied whatever google was using to showcase the font at this link – http://code.google.com/webfonts/specimen/Droid+Serif#variants

If you see from firebug, the code to import the font is as follows :

<link type="text/css" rel="stylesheet" href="//fonts.googleapis.com/css?family=Droid+Serif:400normal,400italic,700normal,700italic&subset=all">

@enabled, haven’t tried directly into css, will try it later. Thanks.

675 posts
    Has referred 10+ members Has sold $10,000+ on Envato Market Has collected 10+ items on Envato Market Sells items exclusively on Envato Market
+6 more
dexterous says

well, the issue is not yet solved, now it is not working on Firefox on windows. :-( even Google’s own page where it is showing variant styles doesn’t show correctly ( for droid serif 700 )

1 post
    Has been part of the Envato Community for over 1 year
chuffmunky says

bit of a necro, sorry, but it’s probably the NOSCRIPT security plugin – you have to allow googleusercontent.com to let Firefox fetch the Google fonts

590 posts
    Has referred 50+ members Has sold $125,000+ on Envato Market Has collected 100+ items on Envato Market Elite Author: Sold more than $75,000 on Envato Market
+5 more
CodeSwift says

There should be a little notification above the reply textarea saying “This topic is very very old.” on topics like this.

by
by
by
by
by
by