From 3c2b2f9f481ad89a5cfb398b0808b03d0ad6aa4d Mon Sep 17 00:00:00 2001 From: NomNuggetNom Date: Fri, 22 Jan 2016 15:05:22 -0500 Subject: [PATCH] Add instructions for installing on Windows --- TRIVIA.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/TRIVIA.md b/TRIVIA.md index 8848a6191..148c82116 100644 --- a/TRIVIA.md +++ b/TRIVIA.md @@ -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.