PDF不显示汉字或者显示方框解决方法
2014-01-29 00:00
411 查看
转自:http://hi.baidu.com/huleyin/blog/item/18fdd6dc9ea16c1c62279856.html
1.安装poppler-data
apt-get install poppler-data
2.编辑/etc/fonts/conf.d/49-sansserif.conf 为
修改红色部分为想用的字体
OK!
1.安装poppler-data
apt-get install poppler-data
2.编辑/etc/fonts/conf.d/49-sansserif.conf 为
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <!-- If the font still has no generic name, add sans-serif --> <match target="pattern"> <test qual="all" name="family" compare="not_eq"> <string>sans-serif</string> </test> <test qual="all" name="family" compare="not_eq"> <string>serif</string> </test> <test qual="all" name="family" compare="not_eq"> <string>monospace</string> </test> <edit name="family" mode="append_last"> <!-- <string>sans-serif</string> --> <string>宋体</string> </edit> </match> </fontconfig>
修改红色部分为想用的字体
OK!
相关文章推荐
- PDF不显示汉字或者显示方框解决方法
- Ubuntu系统下汉字显示为方框解决方法
- Ubuntu下pdf、gedit、vim 中文无法读取或者显示乱码的解决方法
- SublimeText插件Pandoc导出PDF中文报错或者中文不显示解决方法
- Qt4.7程序烧写或者到开发板时,汉字不能正常显示的解决方法
- Ubuntu下pdf、gedit、vim 中文无法读取或者显示乱码的解决方法
- Ubuntu系统下汉字显示为方框解决方法
- win7小喇叭红叉显示扬声器耳机或者耳机已拔出提示解决方法
- Ubuntu 8.04LTS 下中文输入法FCITX的安装与汉字显示方块的解决方法
- 公式编辑器mathtype中一些符号显示方框的解决方法
- IE9下PDF图片无法正常打开无法显示正常的解决方法
- FastReport 中文菜单显示不全或者乱码解决方法
- Android在RecyclerView/ScrollView中嵌套一个GridView或者recyclerView时只显示一行的原因及解决方法
- 安装redhat时中文显示乱码(小方框)及中文输入法安装解决方法
- Oracle数据库安装完成后,点击sqlplus.exe或者客户端PLSQL Developer,总是显示无法登录解决方法
- FastReport for Delphi2010 中文菜单显示不全或者乱码解决方法
- 英文版PDF不能显示中文PDF文件的解决方法
- Qt解决显示汉字的方法
- 安装redhat时中文显示乱码(小方框)及中文输入法安装解决方法