675 posts
  • Exclusive Author
  • Won a Competition
  • Most Wanted Bounty Winner
  • Sold between 10 000 and 50 000 dollars
  • Philippines
  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
+1 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
  • Exclusive Author
  • Won a Competition
  • Most Wanted Bounty Winner
  • Sold between 10 000 and 50 000 dollars
  • Philippines
  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
+1 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.

4128 posts Community Mod Building awesome stuff for your mobile devices!
  • Community Moderator
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Interviewed on the Envato Notes blog
  • Author had a Free File of the Month
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Won a Competition
+9 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
  • Exclusive Author
  • Won a Competition
  • Most Wanted Bounty Winner
  • Sold between 10 000 and 50 000 dollars
  • Philippines
  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
+1 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)

4128 posts Community Mod Building awesome stuff for your mobile devices!
  • Community Moderator
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Interviewed on the Envato Notes blog
  • Author had a Free File of the Month
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Won a Competition
+9 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

2001 posts
  • Elite Author
  • Author had a Free File of the Month
  • Has been a member for 4-5 years
  • Austria
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Microlancer Beta Tester
+3 more
revaxarts says

Also added the normal weight (700normal)

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

675 posts
  • Exclusive Author
  • Won a Competition
  • Most Wanted Bounty Winner
  • Sold between 10 000 and 50 000 dollars
  • Philippines
  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
+1 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
  • Exclusive Author
  • Won a Competition
  • Most Wanted Bounty Winner
  • Sold between 10 000 and 50 000 dollars
  • Philippines
  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
+1 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 a member for 1-2 years
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
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Has been a member for 3-4 years
  • Europe
  • Exclusive Author
  • Referred between 50 and 99 users
  • Bought between 100 and 499 items
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