Created
November 20, 2015 18:21
-
-
Save mkrcah/ffc05e0cfa59fe206d13 to your computer and use it in GitHub Desktop.
Install google fonts on Ubuntu, usable by PhantomJS
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
# Install google fonts | |
git clone https://github.com/google/fonts.git | |
sudo mkdir -p /usr/share/fonts/truetype/google-fonts/ | |
find fonts/ -name "*.ttf" -exec sudo install -m644 {} /usr/share/fonts/truetype/google-fonts/ \; | |
sudo apt-get install fontconfig -y | |
sudo fc-cache -fv | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment