增加CESI、国标(GB)、WPS字体

This commit is contained in:
杨黄林
2026-01-08 15:08:55 +08:00
parent b0082a57c7
commit 461564a615
66 changed files with 11 additions and 2 deletions

View File

@@ -44,7 +44,10 @@ COPY app/document-server-*.jar /app/application.jar
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
# 入口

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
echo installing fonts
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
echo fonts installed