Posted in

ubuntu中opera字体设置

现在的系统是UBUNTU Intrepid Ibex,一直用的是系统自带的firefox浏览器,可随着插件越装越多,浏览器的速度也越来越慢了,听别人总说opera速度快,就试用过几次,可字体问题一直没有解决,导致浏览时显示的中文字体大小不一,看着很难受。
今天在UBUNTU中文论坛上找到一个方法就试了下,还真不错。
首先进入主目录,执行命令
vim ~/.opera/styles/user/user.css
在里面添加如下内容:

@charset “utf-8”;
/* Name: LiHei */
html,body,*{
font-family:”LiHei Pro”!important;
font-size: 13px !important;
word-spacing: 0.4mm !important;
letter-spacing: 0.2mm !important;}

(LiHei Pro这个地方的字体随便换成你喜欢的)
保存后退出,再打开opera,在view—->style—–>manage modes—->display,在my style sheet那一栏选择刚才编辑的user.css文件即可。

哈哈,效果出来了。

Leave a Reply

Your email address will not be published. Required fields are marked *