Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google font Rubik not working or am I missing something?

Tags:

I'm using Google's font Rubik on a website (still work in progress) and it stopped showing any text suddenly!

It seems that even on Google Font website the font isn't working: https://fonts.google.com/?selection.family=Rubik:400,900&query=rubik ("All their equipment and instruments are alive." isn't showing below Rubik, but if you inspect it, it is in there)

Is anyone else having the same problem?

I'm having this issue using Windows and Chrome, Firefox or Edge.

UPDATE: without changing anything, the font started working again today. I guess whatever problem existed, Google fixed it.

like image 211
Projectos na Net Avatar asked Aug 16 '17 09:08

Projectos na Net


1 Answers

Upon further investigation, it seems their font for "Rubik" is corrupt or otherwise problematic. Conversion to ttf gives the same results. The font can be previewed under Windows, but the behavior in-browser (FF56.0b2) is the same.

Browsers that appear to render it might be doing what mine was, using a system fallback that looks similar.

This is an issue on their end as the problem is with the font file and not their stylesheet as I had originally stated in this answer.

I converted the woff to ttf using Google's woff2 tool, then tried the ttf version locally, without unicode-range and the results are the same. Here is a preview of the truetype version of the font, converted from the woff2 version, in FontForge, if anyone wants to see if the glyph's are in the correct location (note that this version of the font also doesn't work in-browser):

![truetype font glyphs](http://imgur.com/a/Ztx7c)

like image 60
mechalynx Avatar answered Oct 11 '22 14:10

mechalynx