Skip to content

Instantly share code, notes, and snippets.

@bububa
Last active December 25, 2015 04:09
Show Gist options
  • Save bububa/6914602 to your computer and use it in GitHub Desktop.
Save bububa/6914602 to your computer and use it in GitHub Desktop.
sudo npm install -g phantomjs
sudo yum install bitmap-fonts bitmap-fonts-cjk liberation-fonts
cd /usr/share/fonts
sudo mkfontscale
sudo mkfontdir
sudo fc-cache -fv
sudo /usr/sbin/chkfontpath -a /usr/share/fonts/default/truetype/
sudo /etc/init.d/xfs reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment