papyros / papyros.github.io

The website for Papyros
http://papyros.io
206 stars 25 forks source link

The Roboto font isn't loaded from bower #21

Closed iBelieve closed 9 years ago

iBelieve commented 9 years ago

It's only picking up system fonts, so if you don't have Roboto installed, it defaults to something that looks like Times New Roman.

jspinella commented 9 years ago

You could add this: "@import url(http://fonts.googleapis.com/css?family=Roboto);" to main.css below @charset "utf-8". Roboto will be served via Google Fonts, solving the font issue.

Note: If (well, when) the Papyros website moves from http to https, you must change the URL aforementioned to also be "https", otherwise you'll encounter a "hey, only some elements on this page are secure!" notification in-browser, and depending, the font won't load.

ElliotFriend commented 9 years ago

+1 for Google Fonts. That will reduce the load on the GH Pages servers, too.

mralext20 commented 9 years ago

so... we can close this now?

ElliotFriend commented 9 years ago

I would think so... Although, we're not using bower to install the font. If that's something they were really interested in implementing, it makes sense to keep the issue open.

iBelieve commented 9 years ago

I left the issue open until I could confirm on a device that I knew didn't have the Roboto font installed. I verified that it's working, so I'll close this now.