另外如果出现flash乱码现象,可以用以下两条命令解决:
sudo cp /etc/fonts/conf.d/49-sansserif.conf /etc/fonts/conf.d/49-sansserif.conf.bak
sudo rm /etc/fonts/conf.d/49-sansserif.conf
对于linux下使用ff的朋友,一定要注意字体是否很合适,不合适的字体会严重降低ff的绘制能力,尽量不能使用压缩的字体并且考虑使用ttf字体,推荐文泉译正黑字体http://wenq.org/?ZenHei
ubuntu装好之后, 为浏览器firefox安装flash插件, 后来发现中文会变成方框。
如何解决?
输入:
cd /etc/fonts/conf.d/
为了安全,备份一下:
sudo cp 49-sansserif.conf 49-sansserif.conf_backup
输入如下指令:
sudo gedit ./49-sansserif.conf
此时文件显示内容。
将其中的第1、2、4个后面的sans-serif或者serif用你自己系统中支持中文的字体的名字代替,注意字体名字的大小写
比如:我的系统中安装了微软雅黑,我则用微软雅黑代替上述所说的字段,结果如下:
<match target="pattern">
<test qual="all" name="family" compare="not_eq">
<string>微软雅黑</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>微软雅黑</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>monospace</string>
</test>
<edit name="family" mode="append_last">
<string>微软雅黑</string>
</edit>
</match>
分享到:
相关推荐
解决ubuntu 下文件名乱码总结解决ubuntu 下文件名乱码总结解决ubuntu 下文件名乱码总结
Ubuntu下QT显示中文乱码问题.docx
本文介绍了解决Ubuntu和Windows的文件乱码问题的方法,希望对你的学习工作有所帮助。
ubuntu解压乱码python解决方案 主要针对uef-8解决,在window下压缩包在ubuntu下乱码问题
针对Ubuntu下乱码问题,提出以下解决方案,实测成功。
Ubuntu的flash插件 , 各种版本都可安装. ...................
1.6万 1.8万 6.9万
ubuntu rsync中文乱码 window ubuntu rsync同步中文乱码.docx
Xshell登陆Ubuntu的中文乱码解决方案.docx
Ubuntu13.04解决Chrome的flash中文乱码的问题.docx
英文版Ubuntu Firefox中文乱码解决方案.docx
keepass2在Ubuntu 15.10下中文乱码的解决办法.docx
Ubuntu中命令行中文乱码解决方法.docx
Ubuntu 下Rhythmbox播放器乱码问题解决。
解决ubuntu下文件中中文乱码问题,解决大家在ubuntu下不能查看中文文档的困扰,让大家很好地使用ubuntu系统完成日常所有所需工作
ubuntu mysql中中文乱码问题.docx
ubuntu9.1随手笔记,GRUB引导修复,GRUB命令行启动,字体安装,flash 乱码,切换用户,eclipse安装,LD_LIBRARY_PATH变量的设置,修改系统启动选项菜单的背景图片,remastersys工具包安装
Ubuntu修正LibreOffice中文乱码以及eclipse提示框颜色.docx
Ubuntu下使用Tomcat搭建网站出现中文乱码的问题.docx
Ubuntu下Eclipse中文乱码解决.docx