Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
wget -O /tmp/
unzip /tmp/
sudo mkdir -p /usr/share/fonts/consolas
sudo mv YaHei.Consolas.1.12.ttf /usr/share/fonts/consolas/
sudo chmod 644 /usr/share/fonts/consolas/YaHei.Consolas.1.12.ttf
cd /usr/share/fonts/consolas
sudo mkfontscale && sudo mkfontdir && sudo fc-cache -fv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment