Skip to content

Instantly share code, notes, and snippets.

@mkrcah
Created November 20, 2015 18:21
Show Gist options
  • 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