From 17d70fc513342edb32b82ad24f58e9cc6d86ac4b Mon Sep 17 00:00:00 2001 From: New Future Date: Sat, 11 May 2024 09:59:44 +0000 Subject: [PATCH] fix fonts download --- init.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/init.sh b/init.sh index 3d177b8..c852686 100755 --- a/init.sh +++ b/init.sh @@ -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/ \ No newline at end of file +# 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