1
0
mirror of https://github.com/google/fonts.git synced 2024-11-28 11:00:21 +03:00

Merge pull request #181 from NomNuggetNom/patch-1

TRIVIA.md Add instructions for installing all files on Windows
This commit is contained in:
Dave Crossland 2016-01-22 22:07:57 -08:00
commit 3a03bd787c

View File

@ -23,6 +23,14 @@ They are no longer listed in the main www.google.com/fonts directory, but the fi
Fonts in Early Access do not have METADATA.json files.
### Install on Windows
You can install all of the fonts using Windows power shell. Change directories to the folder where you downloaded the package, and run the following command:
```
$fonts = (New-Object -ComObject Shell.Application).Namespace(0x14)
dir ofl/*/*.ttf | %{ $fonts.CopyHere($_.fullname) }
```
## 3rd Party Directories
The www.google.com/fonts directory is accompanied by a [Google Fonts Developer API](https://developers.google.com/fonts/docs/developer_api) which provides raw data for constructing such a directory in JSON format.