Created
June 8, 2020 08:48
-
-
Save giaphiep/944f14171aca5c21adbafc6f575e24ff to your computer and use it in GitHub Desktop.
Install wkhtmltopdf and japanese font on ubuntu 18.08 vps
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 wkhtmltopdf | |
wget https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb | |
apt-get install fontconfig libxrender1 xfonts-75dpi xfonts-base | |
dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb | |
# install font | |
apt-get install fonts-wqy-microhei ttf-wqy-microhei fonts-wqy-zenhei ttf-wqy-zenhei | |
fc-cache -f -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment