Ubuntu下Flash中将汉字显示为方格的解决办法
Ubuntu下装完Adobe的Flash插件后,浏览器里可以播放Flash动画了。但是还存在一个问题就是汉字无法正确显示,显示为方格
解决办法:
修改这个配置文件
/etc/fonts/conf.d/49-sansserif.conf
把其中所有的字体名替换为中文字体名即可,我这里用的是“微软雅黑”和“Consolas“。
<?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>微软雅黑</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>微软雅黑</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>Consolas</string>
</test>
<edit name="family" mode="append_last">
<string>微软雅黑</string>
</edit>
</match>
</fontconfig>
相关文档:
在ubuntu
上安装了官方的flash player后,其中的动态中文字体却显示为方块的问题可以用以下方法解决
删除一个字体的设置文件后,重新启动firefox问题就可以解决。
执行的命令为:
$ sudo rm /etc/fonts/conf.d/49-sansserif.conf
......
Flash 嵌入的问题论坛中有人问了好多次,到底应该怎么用,为什么通不过验证,要通过验证怎么办等等等。
讨论中也出现了不少的误解,所以我单开一个帖总结一下我所知道的东西,不想看我罗嗦的直接跳到最后看结论就可以了。
一、传统的方法
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
&nbs ......
文件如下
<BODY>
<SCRIPT src="swfobject.js"
type=text/javascript></SCRIPT>
<SCRIPT language=javascript>
var flashvars = {};
flashvars.myxmlpath = 'content.xml';
flashvars.type = 'content';
flashvars.decription = '0';
flashvars.textstyle = '';
flashvars.de ......
HTML clipboardThese days a
16GB USB thumb drive
is as necessary as your house keys. Whether you are
taking large work files back and forth from the office or are sharing pictures,
videos, and music with friends, nothing beats the convenience of a USB storage
drive. Well, why not make sure t ......