webfont-downloader
v0.4.0
Published
Easily download Google Webfonts as a zip file
Downloads
7
Readme
webfont-downloader
Easily download Google Webfonts as a zip file
Usage
Given the Google Webfonts CSS file:
http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800
Just change the domain to:
http://webfont-downloader.herokuapp.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800
It should begin to down an
OpenSans.zip
fileUse it with:
<link rel="stylesheet" href="./path/to/my/local/css/OpenSans/OpenSans.css">
API
/<type>/css
Creates a zip archive of font family provided, wheretype
can be one oftff
,woff
oreotwoff
(default).
Deploy
FAQ
Google already has this service available
It does, though it only provides you with .tff
files. This service downloads
.woff
and .eof
files and creates a local version of the one-line include CSS file.
Why is eotwoff
the default?
It is the largest download though it has the most support.
MIT License
Copyright © 2014 Jaime Pillora <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.