Last active
April 19, 2016 11:02
-
-
Save ten0s/ea19610f94ae1f1803e8 to your computer and use it in GitHub Desktop.
Install Google Fonts (https://www.google.com/fonts) into Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ fc-match "open sans" | |
DejaVuSans.ttf: "DejaVu Sans" "Book" | |
$ mkdir -p ~/.fonts | |
$ cd ~/.fonts | |
# download google fonts downloader, make it executable | |
$ wget https://raw.githubusercontent.com/neverpanic/google-font-download/master/google-font-download | |
$ chmod +x google-font-download | |
$ ./google-font-download "Open Sans:400" | |
Downloading Open Sans:400...eot woff woff2 svg ttf | |
$ fc-cache | |
$ fc-match "open sans" | |
Open_Sans_400.ttf: "Open Sans" "Regular" |
FC_DEBUG=1 fc-match "open sans"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For development add fonts config file like:
$ cat ~/.config/fontconfig/conf.d/00-APP-fonts.conf
~/projects/APP/fonts ``