Skip to content

Instantly share code, notes, and snippets.

@mkrcah
Created November 20, 2015 18:21
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkrcah/ffc05e0cfa59fe206d13 to your computer and use it in GitHub Desktop.
Save mkrcah/ffc05e0cfa59fe206d13 to your computer and use it in GitHub Desktop.
Install google fonts on Ubuntu, usable by PhantomJS
# 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