Skip to content

Commit

Permalink
fix fonts download
Browse files Browse the repository at this point in the history
  • Loading branch information
NewFuture committed May 11, 2024
1 parent 95b2143 commit 17d70fc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ sudo apt install -y texlive-latex-base latex-cjk-all texlive-latex-extra texmake
# install ms fonts
# echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && sudo apt install -y ttf-mscorefonts-installer



# install nkthesis fonts
sudo wget https://github.com/dolbydu/font/raw/master/Serif/Times%20New%20Roman/Times.ttf --directory-prefix /usr/share/fonts/opentype/nkthesis/
sudo wget https://github.com/dolbydu/font/raw/master/unicode/FangSong.ttf --directory-prefix /usr/share/fonts/opentype/nkthesis/
sudo wget https://github.com/dolbydu/font/raw/master/unicode/SimHei.ttf --directory-prefix /usr/share/fonts/opentype/nkthesis/
sudo wget https://github.com/dolbydu/font/raw/master/unicode/SimSun.ttc --directory-prefix /usr/share/fonts/opentype/nkthesis/
sudo wget https://github.com/dolbydu/font/raw/master/unicode/Kaiti.ttf /usr/share/fonts/opentype/nkthesis/
# download nkthesis fonts
sudo wget --directory-prefix /usr/share/fonts/opentype/nkthesis/ \
https://github.com/dolbydu/font/raw/master/Serif/Times%20New%20Roman/Times.ttf \
https://github.com/dolbydu/font/raw/master/unicode/FangSong.ttf \
https://github.com/dolbydu/font/raw/master/unicode/SimHei.ttf \
https://github.com/dolbydu/font/raw/master/unicode/SimSun.ttc \
https://github.com/dolbydu/font/raw/master/unicode/Kaiti.ttf \
-nv

0 comments on commit 17d70fc

Please sign in to comment.