linux下openoffice doc文档转换成pdf 报错或乱码。Fatal exception: Signal 6

doc报错不能转换是字体缺少原因。doc里面用到了什么字体,linux里面没有,但是window系统有。

1. 将Windows下的字体C:\Windows\Fonts\simsun.ttf字体拷贝到 /usr/share/fonts/zh_CN/TrueType/ 下
2. 重建Linux字体索引
    mkfontscale
    mkfontdir
    fc-cache
3. 重启openoffice服务

猜你喜欢

转载自blog.csdn.net/songqiang2011/article/details/51362456
今日推荐