8

So I am using the fonts this way

<link href='http://fonts.googleapis.com/css?family=Fira+Sans:700|Open+Sans&text=1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz%20' rel='stylesheet' type='text/css' />
<style>h1, h2, h3 {font-family: 'Fira Sans', sans-serif; line-height:1.125em} </style>

This is the result... enter image description here

I am completely confused as how this can even happen? What am I doing wrong. The issue seems only on the home computer. Rest everywhere I checked its fine.

Home PC: Firefox, Windows 7 (In chrome the fonts are not displaying at all, its blank)

Debajyoti Das
  • 2,038
  • 4
  • 34
  • 66

3 Answers3

14

Try using Mozilla's CDN instead of Google's; the latter seems to be buggy with regards to the Fira Sans font.

Replace your googleapis.com link with this one and it should work:

<link href='https://code.cdn.mozilla.net/fonts/fira.css' rel='stylesheet' type='text/css' />

You might have to still use Google's CDN for Open Sans, in addition to Mozilla's for Fira Sans, but Open Sans doesn't seem to have this issue as far as I am aware of.

bobsoap
  • 4,844
  • 7
  • 30
  • 43
  • Works fine when rendered from Moz – Debajyoti Das Feb 12 '15 at 15:46
  • 1
    Is there a way of limiting which weights you bring in? – sjbx Mar 14 '16 at 11:45
  • I have been using Fira sans for months and I just recently found out that 1 person fails to see the text. I wonder how many visitors in the meantime I have lost because of this... Anyway, how do I test it if it works now? – Marko Apr 12 '16 at 16:03
0

Do you have any custom settings in your GRAPHICS driver config? E.g. is Anisotropic Filtering, Antialiasing / etc. turned on? Firefox tends to pass some of those optimizations through, with bad results :-/

Try turning all of those settings to "Application-controlled" / auto / default whatever and see if that makes a difference.

Joshua
  • 3,615
  • 1
  • 26
  • 32
0

I was having this issue. The cause was a misconfiguration of the time and date information in my computer. Once I adjusted that, google fonts started to work fine.

Blue
  • 22,608
  • 7
  • 62
  • 92