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

Adding webfont build chain #24

Closed
wants to merge 5 commits into from
Closed

Conversation

bollwyvl
Copy link

Great little font! I wanted to try it out in the IPython Notebook.

This proposes a NodeJS-based build chain. Basically, it's npm install && npm run build and you get:

  • svg
  • eot
  • woff
  • css
  • scss (could easily add others, like less/stylus)
  • sample html

I've taken cues from Font-Awesome, etc.

It uses the "gh-pages as submodule" approach, so there's a demo here:
http://bollwyvl.github.io/FiraCode/

The process could be entirely automated on travis-ci, so that any push to master would trigger this build, so you wouldn't even have to have node!

@Zhigalin
Copy link

@tonsky Why not?

@IngwiePhoenix
Copy link

I totally +1 this. I'd like to use this font to display code on my website. It'd be freaking great to have some generator to help me get the stuff.

@tomByrer
Copy link

SVG fonts have been cut out of most browers. Should drop IE-only EOT in favor of WOFF; IE <= 10 have been EOL & usage is too small anyhow. Should add WOFF2 since it is supported by over half browsers & compresses better.

IF you want to do some hardcore code reduction:
https://github.com/googlefonts/fontcrunch
https://github.com/google/woff2
For some reason I thought this compressed with zopfli, but I guess not: https://github.com/googlefonts/fontbakery

@tonsky tonsky closed this in 501fd5a Jul 17, 2016
tonsky added a commit that referenced this pull request Jul 18, 2016
tonsky added a commit that referenced this pull request Jul 18, 2016
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.

4 participants