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.

4601 posts Community Mod Building awesome stuff for your mobile devices!
  • Contributed a blog post
  • Elite Author: Sold more than $75,000 on Envato Market
  • Helps us moderate the forums
  • Has sold $125,000+ on Envato Market
+15 more
Enabled 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)

4601 posts Community Mod Building awesome stuff for your mobile devices!
  • Contributed a blog post
  • Elite Author: Sold more than $75,000 on Envato Market
  • Helps us moderate the forums
  • Has sold $125,000+ on Envato Market
+15 more
Enabled 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

2196 posts
  • Located in Europe
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
  • Participated in a focus group or interview to improve the user experience on Envato Market
+10 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 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 more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
  • Sells items exclusively 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.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by