Ubuntu下Firefox Flash文字乱码或不能显示的问题

在Linux下用Firefox浏览有Flash的网页时,经常碰到有些文字不能正常显示.

 

解决方法很简单,操作如下:
修改/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 >
    
</ edit >
</ match >
</ fontconfig >

将在上述代码中


< string > sans-serif </ string >

改为

< string > sans </ string >

保存一下,在firefox里刷新一下,问题就解决了。

你可能感兴趣的:(firefox)