Linux 安装宋体字体

    技术2022-05-11  144

    1.mkdir /usr/local/share/fonts/zhfonts复制中文字体simsun.ttf到该目录中2.创建字体信息文件 ttmkfdir >fonts.dir3.修改/etc/fonts/fonts.conf文件 1)添加simsun字库的路径: <!--the next line is added by me.--> <dir>/usr/local/share/zhfonts</dir> <dir>/usr/share/fonts</dir> <dir>/usr/X11R6/lib/X11/fonts/Type1</dir> <dir>/usr/X11R6/lib/X11/fonts/OTF</dir> <dir>~/.fonts</dir>

    最新回复(0)