fonts update

This commit is contained in:
13339479676 2022-02-06 15:20:57 +08:00
parent 2d92831706
commit 15fa606ceb
3 changed files with 4 additions and 6 deletions

View File

@ -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

View File

@ -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

2
v05.md
View File

@ -16,7 +16,7 @@
- 加入opencv-webcam-script Jupyter版 详细教程文件
- 加入README英文版
- 加入lizard代码检查报告
- 加入docker wget
### 🔧 BUG修复