Compare commits

..

2 Commits

Author SHA1 Message Date
杨黄林
461564a615 增加CESI、国标(GB)、WPS字体 2026-01-08 15:08:55 +08:00
b0082a57c7 调整说明 2025-12-01 11:03:10 +08:00
67 changed files with 12 additions and 3 deletions

View File

@@ -11,7 +11,7 @@
+ [docto-document-server](document-server/docto-document-server)下使用poi-tl处理word文件使用docto调用`Microsoft Office`来转换格式,`java -jar xxx.jar`启动 + [docto-document-server](document-server/docto-document-server)下使用poi-tl处理word文件使用docto调用`Microsoft Office`来转换格式,`java -jar xxx.jar`启动
+ 仅能运行在Windows兼容性最好比较慢 + 仅能运行在Windows兼容性最好比较慢
+ [document-fonts](document-fonts)为linux下需要安装的中文字体 + [document-docker/fonts](document-docker/fonts)为linux下需要安装的中文字体
--- ---

View File

@@ -44,7 +44,10 @@ COPY app/document-server-*.jar /app/application.jar
COPY app/application.yml /app/application.yml COPY app/application.yml /app/application.yml
# 拷贝字体文件并刷新字体缓存 # 拷贝字体文件并刷新字体缓存
COPY fonts /usr/share/fonts/truetype COPY fonts/truetype /usr/share/fonts/truetype
COPY fonts/cesi /usr/share/fonts/cesi
COPY fonts/gb /usr/share/fonts/gb
COPY fonts/wps-office /usr/share/fonts/wps-office
RUN fc-cache -fv RUN fc-cache -fv
# 入口 # 入口

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,6 +1,12 @@
#!/bin/bash #!/bin/bash
echo installing fonts echo installing fonts
sudo mkdir -p /usr/share/fonts/truetype sudo mkdir -p /usr/share/fonts/truetype
sudo cp -r ./fonts/* /usr/share/fonts/truetype/ sudo mkdir -p /usr/share/fonts/cesi
sudo mkdir -p /usr/share/fonts/gb
sudo mkdir -p /usr/share/fonts/wps-office
sudo cp -r ./fonts/truetype/* /usr/share/fonts/truetype/
sudo cp -r ./fonts/cesi/* /usr/share/fonts/cesi/
sudo cp -r ./fonts/gb/* /usr/share/fonts/gb/
sudo cp -r ./fonts/wps-office/* /usr/share/fonts/wps-office/
sudo fc-cache -fv sudo fc-cache -fv
echo fonts installed echo fonts installed