fonts update
This commit is contained in:
parent
2d92831706
commit
15fa606ceb
|
@ -9,7 +9,7 @@ LABEL maintainer="zyfiy1314@163.com"
|
|||
# 安装linux包
|
||||
RUN apt update
|
||||
RUN DEBIAN_FRONTEND=noninteractive TZ=Asia/Shanghai apt-get -y install tzdata
|
||||
RUN apt install -y python3-pip zip htop screen libgl1-mesa-glx libgtk2.0-dev vim
|
||||
RUN apt install -y python3-pip zip htop screen libgl1-mesa-glx libgtk2.0-dev vim wget
|
||||
# 解决vim中文乱码问题
|
||||
RUN echo "set enc=utf8" > ~/.vimrc
|
||||
|
||||
|
|
6
fonts.sh
6
fonts.sh
|
@ -1,10 +1,8 @@
|
|||
# 字体文件引用:https://github.com/Haixing-Hu/latex-chinese-fonts
|
||||
|
||||
if [ ! -d "./fonts" ]; then
|
||||
mkdir ./fonts
|
||||
fi
|
||||
cd ./fonts
|
||||
# 下载宋体
|
||||
wget -c -t 0 https://github.com/Haixing-Hu/latex-chinese-fonts/raw/master/chinese/%E5%AE%8B%E4%BD%93/SimSun.ttc
|
||||
wget -c -t 0 https://gitee.com/CV_Lab/opencv_webcam/attach_files/959173/download/SimSun.ttc
|
||||
# 下载新罗马字体
|
||||
wget -c -t 0 https://github.com/Haixing-Hu/latex-chinese-fonts/raw/master/english/Serif/TimesNewRoman.ttf
|
||||
wget -c -t 0 https://gitee.com/CV_Lab/opencv_webcam/attach_files/959172/download/TimesNewRoman.ttf
|
Loading…
Reference in New Issue