Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #530: host OpenSans font ourselves #539

Merged
merged 1 commit into from Nov 15, 2015

Conversation

pascalchevrel
Copy link
Member

  • Don't provide fallbacks for old browsers, just use woff
  • Cache them via .htaccess
  • Put them in a local fonts folder

A quick check on my local instance gives good results on page load (/3)

@pascalchevrel pascalchevrel changed the title qIssue #530: host OpenSans font ourselves Issue #530: host OpenSans font ourselves Nov 15, 2015

@font-face {
font-family: 'Open Sans';
font-family: 'Open Sans Light';
src: url('/fonts/OpenSans/OpenSans-Light-webfont.woff') format('woff');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd remove quotes on the URLs for consistency with the rest of the CSS.

@flodolo
Copy link
Collaborator

flodolo commented Nov 15, 2015

Besides the question about .htaccess, looks great to me 👍

* Don't provide fallbacks for old browsers, just use woff
* Cache them via .htaccess
* Put them in a local fonts folder

A quick check on my local instance gives good results on page load (/3)
pascalchevrel added a commit that referenced this pull request Nov 15, 2015
@pascalchevrel pascalchevrel merged commit 056468a into mozfr:master Nov 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants