
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
google-fonts-offline
Advanced tools
Sometimes you just have to have fonts locally on your machine. The easiest way is to install package globally:
npm install -g google-fonts-offline
Then use links from Quick Use or your collection as an argument:
goofoffline "http://fonts.googleapis.com/css?family=Open+Sans"
All downloads will be saved in fonts
directory by default and the CSS file with @font-face
declarations will be named fonts.css
. You can use outDir
and outCss
arguments to change this. For example:
goofoffline outDir=tmp outCss=gf.css "http://fonts.googleapis.com/css?family=Ubuntu:200italic"
With greatest HTML post-processing library for Grunt processhtml you may switch between local and hosted variants as simple as:
<!-- build:remove:release -->
<link rel="stylesheet" href="fonts/fonts.css">
<!-- /build -->
<!-- build:remove:dev -->
<script src="//ajax.googleapis.com/ajax/libs/webfont/1.4.7/webfont.js"></script>
<script>
WebFont.load({
google: {
families: ['Dosis:200', 'Smythe', 'Ubuntu']
}
});
</script>
<!-- /build -->
FAQs
Use Google Fonts while you're offline or in development.
We found that google-fonts-offline demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.