opera 字体终极解决方案

很多朋友对于opera的字体设置感到非常头疼。虽然也有各种各样的解决方法,但总是不彻底,不是有这个问题就是有那个不满意。我这里有个方法可以帮你比
较好的解决opera字体问题,你想用什么字体就用什么字体,非常方便。

1、


码:


cd

gedit ~/.opera/styles/user/user.css


2、加入如下内容


码:
@charset "utf-8";

/*   Name: 雅黑 */

html,body,*{

font-family:"lihei Pro"!important;

font-size: 13px !important;

word-spacing: 0.4mm !important;

letter-spacing: 0.2mm !important;}


注意:lihei Pro这个地方的字体随便换成你喜欢的

我选择的是苹果字体

3、打开opera浏览器,然后view---->style----->manage
modes---->display,然后在my style sheet那一栏选择刚才编辑的黧黑文件即可。

中文菜单位置为:查看──样式──雅黑

重启opera



缺陷:由于采用css强制指定网页文字,浏览某些强制指定某一字体为该网站默认字体的网站页面时,会发生cpu占用过高的现象,(也即二者产生冲突)但这
并不影响正常浏览

0 comments:

Copyright © 2008 - All man's Pet - is proudly powered by Blogger
Smashing Magazine - Design Disease - Blog and Web - Dilectio Blogger Template