document viewer打开pdf文件中文乱码解决方法(转载)
Tofloor
poster avatar
Dreamease
deepin
2013-11-26 04:50
Author
在deepin11.12下用Document Viewer(3.2.1)查看PDF文件时中文出现乱码
在百度搜到很多办法,这个最简单了。
在终端中 输入 sudo gedit /etc/fonts/conf.d/49-sansserif.conf,修改一个字体设置就OK。如果没有权限可以在终端中 修改字体设置文件的权限:输入 sudo chmod 777 /etc/fonts/conf.d/49-sansserif.conf  

例如以下,将倒数第四行的字体(红色字体)改为汉字的字体,我改成了文泉驿正黑(系统自带的中文字体)




   
        
            sans-serif
        
        
            serif
        
        
            monospace
        
        
            [color=#BF0080:27roweqc]文泉驿正黑[/color:27roweqc]
        
   

保存退出,就可以了
Reply Favorite View the author
All Replies
Dreamease
deepin
2013-11-26 05:08
#1
经测试,部分PDF文件此方法无效
Reply View the author
cxbii
deepin
2013-11-26 17:55
#2
面前ld从11.12开始都是用evince的吧?
这个不会乱码啊
Reply View the author
Dreamease
deepin
2013-11-26 21:34
#3
面前ld从11.12开始都是用evince的吧?
这个不会乱码啊
为什么我在终端输入evince打开的却是document viewer呀?
Reply View the author
cxbii
deepin
2013-11-26 22:01
#4
[quote]面前ld从11.12开始都是用evince的吧?
这个不会乱码啊
为什么我在终端输入evince打开的却是document viewer呀?[/quote]
实测,没有这个问题啊
Reply View the author
Dreamease
deepin
2013-11-26 22:07
#5
[quote][quote]面前ld从11.12开始都是用evince的吧?
这个不会乱码啊
为什么我在终端输入evince打开的却是document viewer呀?[/quote]
实测,没有这个问题啊[/quote]
呃,看帮助,原来这个软件全名Evince document viewer;关于里写的是document viewer;
不过乱码还是有的呀如下
DeepinScrot-5318.png
用上方法还是有部分出现上图问题,不知为何?
Reply View the author
cxbii
deepin
2013-11-26 22:15
#6
用上方法还是有部分出现上图问题,不知为何?
看到截图我就。。。。。
请使用最新版本系统。
Reply View the author
Dreamease
deepin
2013-11-26 22:24
#7
[quote]
用上方法还是有部分出现上图问题,不知为何?
看到截图我就。。。。。
请使用最新版本系统。[/quote]
最新的系统只有deepin桌面环境,偶的旧电脑不支持,只显示一张壁纸。。。
(希望论坛可以加个Ctrl+Enter快捷键快速发贴)
Reply View the author
cxbii
deepin
2013-11-26 22:40
#8
[quote][quote]
用上方法还是有部分出现上图问题,不知为何?
看到截图我就。。。。。
请使用最新版本系统。[/quote]
最新的系统只有deepin桌面环境,偶的旧电脑不支持,只显示一张壁纸。。。
(希望论坛可以加个Ctrl+Enter快捷键快速发贴)[/quote]
我不懂现在是怎么处理的,pdf没乱码问题了,所以。。。

论坛系统会切换到dz的。
Reply View the author