• 2024-05-28centos7下安装中文字体
    1.安装fontconfigyum-yinstallfontconfig 2.创建chinesem目录/usr/shared/fonts目录下新建一个目录chinese#cd/usr/share/fonts#mkdirchinese 3.上传如下两个文件到目录/usr/share/fonts/chinesesimhei.ttfsimsun.ttc宋体和黑体这两个文件在windows下的C:\Windows\fon