diff --git a/document-docker/Dockerfile b/document-docker/Dockerfile index c41370b..9b19171 100644 --- a/document-docker/Dockerfile +++ b/document-docker/Dockerfile @@ -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 # 入口 diff --git a/document-docker/fonts/cesi/CESI_FS_GB13000.TTF b/document-docker/fonts/cesi/CESI_FS_GB13000.TTF new file mode 100644 index 0000000..9b5f123 Binary files /dev/null and b/document-docker/fonts/cesi/CESI_FS_GB13000.TTF differ diff --git a/document-docker/fonts/cesi/CESI_FS_GB18030.TTF b/document-docker/fonts/cesi/CESI_FS_GB18030.TTF new file mode 100644 index 0000000..d4c79dd Binary files /dev/null and b/document-docker/fonts/cesi/CESI_FS_GB18030.TTF differ diff --git a/document-docker/fonts/cesi/CESI_FS_GB2312.TTF b/document-docker/fonts/cesi/CESI_FS_GB2312.TTF new file mode 100644 index 0000000..8f73097 Binary files /dev/null and b/document-docker/fonts/cesi/CESI_FS_GB2312.TTF differ diff --git a/document-docker/fonts/cesi/CESI_HT_GB13000.TTF b/document-docker/fonts/cesi/CESI_HT_GB13000.TTF new file mode 100644 index 0000000..fcb44f2 Binary files /dev/null and b/document-docker/fonts/cesi/CESI_HT_GB13000.TTF differ diff --git a/document-docker/fonts/cesi/CESI_HT_GB18030.TTF b/document-docker/fonts/cesi/CESI_HT_GB18030.TTF new file mode 100644 index 0000000..5b2afcf Binary files /dev/null and b/document-docker/fonts/cesi/CESI_HT_GB18030.TTF differ diff --git a/document-docker/fonts/cesi/CESI_HT_GB2312.TTF b/document-docker/fonts/cesi/CESI_HT_GB2312.TTF new file mode 100644 index 0000000..e12e091 Binary files /dev/null and b/document-docker/fonts/cesi/CESI_HT_GB2312.TTF differ diff --git a/document-docker/fonts/cesi/CESI_KT_GB13000.TTF b/document-docker/fonts/cesi/CESI_KT_GB13000.TTF new file mode 100644 index 0000000..c744036 Binary files /dev/null and b/document-docker/fonts/cesi/CESI_KT_GB13000.TTF differ diff --git a/document-docker/fonts/cesi/CESI_KT_GB18030.TTF b/document-docker/fonts/cesi/CESI_KT_GB18030.TTF new file mode 100644 index 0000000..0dd47c1 Binary files /dev/null and b/document-docker/fonts/cesi/CESI_KT_GB18030.TTF differ diff --git a/document-docker/fonts/cesi/CESI_KT_GB2312.TTF b/document-docker/fonts/cesi/CESI_KT_GB2312.TTF new file mode 100644 index 0000000..fa01f0c Binary files /dev/null and b/document-docker/fonts/cesi/CESI_KT_GB2312.TTF differ diff --git a/document-docker/fonts/cesi/CESI_SS_GB13000.TTF b/document-docker/fonts/cesi/CESI_SS_GB13000.TTF new file mode 100644 index 0000000..c85dffb Binary files /dev/null and b/document-docker/fonts/cesi/CESI_SS_GB13000.TTF differ diff --git a/document-docker/fonts/cesi/CESI_SS_GB18030.TTF b/document-docker/fonts/cesi/CESI_SS_GB18030.TTF new file mode 100644 index 0000000..418c333 Binary files /dev/null and b/document-docker/fonts/cesi/CESI_SS_GB18030.TTF differ diff --git a/document-docker/fonts/cesi/CESI_SS_GB2312.TTF b/document-docker/fonts/cesi/CESI_SS_GB2312.TTF new file mode 100644 index 0000000..3ba1de0 Binary files /dev/null and b/document-docker/fonts/cesi/CESI_SS_GB2312.TTF differ diff --git a/document-docker/fonts/cesi/CESI_XBS_GB13000.TTF b/document-docker/fonts/cesi/CESI_XBS_GB13000.TTF new file mode 100644 index 0000000..1f596e0 Binary files /dev/null and b/document-docker/fonts/cesi/CESI_XBS_GB13000.TTF differ diff --git a/document-docker/fonts/cesi/CESI_XBS_GB18030.TTF b/document-docker/fonts/cesi/CESI_XBS_GB18030.TTF new file mode 100644 index 0000000..f2a3326 Binary files /dev/null and b/document-docker/fonts/cesi/CESI_XBS_GB18030.TTF differ diff --git a/document-docker/fonts/cesi/CESI_XBS_GB2312.TTF b/document-docker/fonts/cesi/CESI_XBS_GB2312.TTF new file mode 100644 index 0000000..10b6f53 Binary files /dev/null and b/document-docker/fonts/cesi/CESI_XBS_GB2312.TTF differ diff --git a/document-docker/fonts/gb/GB_FS_GB18030.ttf b/document-docker/fonts/gb/GB_FS_GB18030.ttf new file mode 100644 index 0000000..0dcf569 Binary files /dev/null and b/document-docker/fonts/gb/GB_FS_GB18030.ttf differ diff --git a/document-docker/fonts/gb/GB_FS_GB2312.ttf b/document-docker/fonts/gb/GB_FS_GB2312.ttf new file mode 100644 index 0000000..3f77b3d Binary files /dev/null and b/document-docker/fonts/gb/GB_FS_GB2312.ttf differ diff --git a/document-docker/fonts/gb/GB_HT_GB18030.ttf b/document-docker/fonts/gb/GB_HT_GB18030.ttf new file mode 100644 index 0000000..9b298d4 Binary files /dev/null and b/document-docker/fonts/gb/GB_HT_GB18030.ttf differ diff --git a/document-docker/fonts/gb/GB_HT_GB2312.ttf b/document-docker/fonts/gb/GB_HT_GB2312.ttf new file mode 100644 index 0000000..7372402 Binary files /dev/null and b/document-docker/fonts/gb/GB_HT_GB2312.ttf differ diff --git a/document-docker/fonts/gb/GB_KT_GB18030.ttf b/document-docker/fonts/gb/GB_KT_GB18030.ttf new file mode 100644 index 0000000..c2589fc Binary files /dev/null and b/document-docker/fonts/gb/GB_KT_GB18030.ttf differ diff --git a/document-docker/fonts/gb/GB_KT_GB2312.ttf b/document-docker/fonts/gb/GB_KT_GB2312.ttf new file mode 100644 index 0000000..93af496 Binary files /dev/null and b/document-docker/fonts/gb/GB_KT_GB2312.ttf differ diff --git a/document-docker/fonts/gb/GB_ST_GB18030.ttf b/document-docker/fonts/gb/GB_ST_GB18030.ttf new file mode 100644 index 0000000..e858f24 Binary files /dev/null and b/document-docker/fonts/gb/GB_ST_GB18030.ttf differ diff --git a/document-docker/fonts/gb/GB_ST_GB2312.ttf b/document-docker/fonts/gb/GB_ST_GB2312.ttf new file mode 100644 index 0000000..602b1e7 Binary files /dev/null and b/document-docker/fonts/gb/GB_ST_GB2312.ttf differ diff --git a/document-docker/fonts/gb/GB_ST_SUPER_EXTRA_GB2312.ttf b/document-docker/fonts/gb/GB_ST_SUPER_EXTRA_GB2312.ttf new file mode 100644 index 0000000..0107acd Binary files /dev/null and b/document-docker/fonts/gb/GB_ST_SUPER_EXTRA_GB2312.ttf differ diff --git a/document-docker/fonts/gb/GB_ST_SUPER_GB2312.ttf b/document-docker/fonts/gb/GB_ST_SUPER_GB2312.ttf new file mode 100644 index 0000000..ecabc47 Binary files /dev/null and b/document-docker/fonts/gb/GB_ST_SUPER_GB2312.ttf differ diff --git a/document-docker/fonts/gb/GB_XBS_GB18030.ttf b/document-docker/fonts/gb/GB_XBS_GB18030.ttf new file mode 100644 index 0000000..b029c24 Binary files /dev/null and b/document-docker/fonts/gb/GB_XBS_GB18030.ttf differ diff --git a/document-docker/fonts/gb/GB_XBS_GB2312.ttf b/document-docker/fonts/gb/GB_XBS_GB2312.ttf new file mode 100644 index 0000000..3a2cf93 Binary files /dev/null and b/document-docker/fonts/gb/GB_XBS_GB2312.ttf differ diff --git a/document-docker/fonts/Deng.ttf b/document-docker/fonts/truetype/Deng.ttf similarity index 100% rename from document-docker/fonts/Deng.ttf rename to document-docker/fonts/truetype/Deng.ttf diff --git a/document-docker/fonts/Dengb.ttf b/document-docker/fonts/truetype/Dengb.ttf similarity index 100% rename from document-docker/fonts/Dengb.ttf rename to document-docker/fonts/truetype/Dengb.ttf diff --git a/document-docker/fonts/Dengl.ttf b/document-docker/fonts/truetype/Dengl.ttf similarity index 100% rename from document-docker/fonts/Dengl.ttf rename to document-docker/fonts/truetype/Dengl.ttf diff --git a/document-docker/fonts/FZSTK.TTF b/document-docker/fonts/truetype/FZSTK.TTF similarity index 100% rename from document-docker/fonts/FZSTK.TTF rename to document-docker/fonts/truetype/FZSTK.TTF diff --git a/document-docker/fonts/FZYTK.TTF b/document-docker/fonts/truetype/FZYTK.TTF similarity index 100% rename from document-docker/fonts/FZYTK.TTF rename to document-docker/fonts/truetype/FZYTK.TTF diff --git a/document-docker/fonts/SIMLI.TTF b/document-docker/fonts/truetype/SIMLI.TTF similarity index 100% rename from document-docker/fonts/SIMLI.TTF rename to document-docker/fonts/truetype/SIMLI.TTF diff --git a/document-docker/fonts/SIMYOU.TTF b/document-docker/fonts/truetype/SIMYOU.TTF similarity index 100% rename from document-docker/fonts/SIMYOU.TTF rename to document-docker/fonts/truetype/SIMYOU.TTF diff --git a/document-docker/fonts/STCAIYUN.TTF b/document-docker/fonts/truetype/STCAIYUN.TTF similarity index 100% rename from document-docker/fonts/STCAIYUN.TTF rename to document-docker/fonts/truetype/STCAIYUN.TTF diff --git a/document-docker/fonts/STFANGSO.TTF b/document-docker/fonts/truetype/STFANGSO.TTF similarity index 100% rename from document-docker/fonts/STFANGSO.TTF rename to document-docker/fonts/truetype/STFANGSO.TTF diff --git a/document-docker/fonts/STHUPO.TTF b/document-docker/fonts/truetype/STHUPO.TTF similarity index 100% rename from document-docker/fonts/STHUPO.TTF rename to document-docker/fonts/truetype/STHUPO.TTF diff --git a/document-docker/fonts/STKAITI.TTF b/document-docker/fonts/truetype/STKAITI.TTF similarity index 100% rename from document-docker/fonts/STKAITI.TTF rename to document-docker/fonts/truetype/STKAITI.TTF diff --git a/document-docker/fonts/STLITI.TTF b/document-docker/fonts/truetype/STLITI.TTF similarity index 100% rename from document-docker/fonts/STLITI.TTF rename to document-docker/fonts/truetype/STLITI.TTF diff --git a/document-docker/fonts/STSONG.TTF b/document-docker/fonts/truetype/STSONG.TTF similarity index 100% rename from document-docker/fonts/STSONG.TTF rename to document-docker/fonts/truetype/STSONG.TTF diff --git a/document-docker/fonts/STXIHEI.TTF b/document-docker/fonts/truetype/STXIHEI.TTF similarity index 100% rename from document-docker/fonts/STXIHEI.TTF rename to document-docker/fonts/truetype/STXIHEI.TTF diff --git a/document-docker/fonts/STXINGKA.TTF b/document-docker/fonts/truetype/STXINGKA.TTF similarity index 100% rename from document-docker/fonts/STXINGKA.TTF rename to document-docker/fonts/truetype/STXINGKA.TTF diff --git a/document-docker/fonts/STXINWEI.TTF b/document-docker/fonts/truetype/STXINWEI.TTF similarity index 100% rename from document-docker/fonts/STXINWEI.TTF rename to document-docker/fonts/truetype/STXINWEI.TTF diff --git a/document-docker/fonts/STZHONGS.TTF b/document-docker/fonts/truetype/STZHONGS.TTF similarity index 100% rename from document-docker/fonts/STZHONGS.TTF rename to document-docker/fonts/truetype/STZHONGS.TTF diff --git a/document-docker/fonts/msyh.ttc b/document-docker/fonts/truetype/msyh.ttc similarity index 100% rename from document-docker/fonts/msyh.ttc rename to document-docker/fonts/truetype/msyh.ttc diff --git a/document-docker/fonts/msyhbd.ttc b/document-docker/fonts/truetype/msyhbd.ttc similarity index 100% rename from document-docker/fonts/msyhbd.ttc rename to document-docker/fonts/truetype/msyhbd.ttc diff --git a/document-docker/fonts/msyhl.ttc b/document-docker/fonts/truetype/msyhl.ttc similarity index 100% rename from document-docker/fonts/msyhl.ttc rename to document-docker/fonts/truetype/msyhl.ttc diff --git a/document-docker/fonts/simfang.ttf b/document-docker/fonts/truetype/simfang.ttf similarity index 100% rename from document-docker/fonts/simfang.ttf rename to document-docker/fonts/truetype/simfang.ttf diff --git a/document-docker/fonts/simhei.ttf b/document-docker/fonts/truetype/simhei.ttf similarity index 100% rename from document-docker/fonts/simhei.ttf rename to document-docker/fonts/truetype/simhei.ttf diff --git a/document-docker/fonts/simkai.ttf b/document-docker/fonts/truetype/simkai.ttf similarity index 100% rename from document-docker/fonts/simkai.ttf rename to document-docker/fonts/truetype/simkai.ttf diff --git a/document-docker/fonts/simsun.ttc b/document-docker/fonts/truetype/simsun.ttc similarity index 100% rename from document-docker/fonts/simsun.ttc rename to document-docker/fonts/truetype/simsun.ttc diff --git a/document-docker/fonts/wps-office/DejaVuMathTeXGyre.ttf b/document-docker/fonts/wps-office/DejaVuMathTeXGyre.ttf new file mode 100644 index 0000000..8a24f06 Binary files /dev/null and b/document-docker/fonts/wps-office/DejaVuMathTeXGyre.ttf differ diff --git a/document-docker/fonts/wps-office/FZFSK.TTF b/document-docker/fonts/wps-office/FZFSK.TTF new file mode 100644 index 0000000..21d1607 Binary files /dev/null and b/document-docker/fonts/wps-office/FZFSK.TTF differ diff --git a/document-docker/fonts/wps-office/FZHTK.TTF b/document-docker/fonts/wps-office/FZHTK.TTF new file mode 100644 index 0000000..8684821 Binary files /dev/null and b/document-docker/fonts/wps-office/FZHTK.TTF differ diff --git a/document-docker/fonts/wps-office/FZKTK.TTF b/document-docker/fonts/wps-office/FZKTK.TTF new file mode 100644 index 0000000..f042bcf Binary files /dev/null and b/document-docker/fonts/wps-office/FZKTK.TTF differ diff --git a/document-docker/fonts/wps-office/FZLSK.TTF b/document-docker/fonts/wps-office/FZLSK.TTF new file mode 100644 index 0000000..4f0f896 Binary files /dev/null and b/document-docker/fonts/wps-office/FZLSK.TTF differ diff --git a/document-docker/fonts/wps-office/FZSSK.TTF b/document-docker/fonts/wps-office/FZSSK.TTF new file mode 100644 index 0000000..e081f74 Binary files /dev/null and b/document-docker/fonts/wps-office/FZSSK.TTF differ diff --git a/document-docker/fonts/wps-office/FZWBK.TTF b/document-docker/fonts/wps-office/FZWBK.TTF new file mode 100644 index 0000000..bbd6860 Binary files /dev/null and b/document-docker/fonts/wps-office/FZWBK.TTF differ diff --git a/document-docker/fonts/wps-office/FZXBSJW.TTF b/document-docker/fonts/wps-office/FZXBSJW.TTF new file mode 100644 index 0000000..0161fcc Binary files /dev/null and b/document-docker/fonts/wps-office/FZXBSJW.TTF differ diff --git a/document-docker/fonts/wps-office/FZXBSK.TTF b/document-docker/fonts/wps-office/FZXBSK.TTF new file mode 100644 index 0000000..68bb908 Binary files /dev/null and b/document-docker/fonts/wps-office/FZXBSK.TTF differ diff --git a/document-docker/fonts/wps-office/HYFangSongJ.ttf b/document-docker/fonts/wps-office/HYFangSongJ.ttf new file mode 100644 index 0000000..c500d10 Binary files /dev/null and b/document-docker/fonts/wps-office/HYFangSongJ.ttf differ diff --git a/document-docker/fonts/wps-office/HYXingKaiJ.ttf b/document-docker/fonts/wps-office/HYXingKaiJ.ttf new file mode 100644 index 0000000..632002c Binary files /dev/null and b/document-docker/fonts/wps-office/HYXingKaiJ.ttf differ diff --git a/document-docker/fonts/wps-office/HYZhongDengXianJ.ttf b/document-docker/fonts/wps-office/HYZhongDengXianJ.ttf new file mode 100644 index 0000000..e34e150 Binary files /dev/null and b/document-docker/fonts/wps-office/HYZhongDengXianJ.ttf differ diff --git a/document-docker/fonts/wps-office/HYZhongSongJ.ttf b/document-docker/fonts/wps-office/HYZhongSongJ.ttf new file mode 100644 index 0000000..d1ce68d Binary files /dev/null and b/document-docker/fonts/wps-office/HYZhongSongJ.ttf differ diff --git a/document-docker/install-fonts.sh b/document-docker/install-fonts.sh index e00cc73..1d24d52 100755 --- a/document-docker/install-fonts.sh +++ b/document-docker/install-fonts.sh @@ -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