install linux font

     1.将windows 系统下的simsun.tcc

    copy到batch 服务器:/usr/share/fonts/zh_cn/truetype 目录中。

    2.执行以下命令:

    在:/usr/share/fonts/zh_cn/truetype 目录中执行:

    mkfontscale

    mkfontdir

    fc-cache——> 执行fc-cache搜索新字体。

    3.重启字体服务器

    /etc/init.d/xfs restart

    4.执行/jhfapp/app/jm_report/script/laworientedorderreportlauncher.sh

    脚本生成pdf 文件。

    5.查看pdf 文件是否正常。

 

猜你喜欢

转载自tomfish88.iteye.com/blog/1140935