在这里下载最新的Linux版本
ftp://ftp.opera.com/pub/opera/linux/

比如我要把雅黑作为默认字体
建立子目录vista
把雅黑字体拷贝到/usr/share/fonts/vista目录下面
mkfontscale - create an index of scalable font files for X
mkfontdir - create an index of X font files in a directory
fc-cache - build font information cache files

Console

sudo -s
cd /usr/share/fonts
mkdir vista
cd vista
cp ~/msyh* .
mkfontscale
mkfontdir
fc-cache -fv


保存如下内容为CSS,路径为/home/用户名/.opera/styles/user.css

user.css@charset "UTF-8";
* {
font-family:"微软雅黑" !important;
}
设置国际字体为Meiryo可以解决特殊符号为方块儿的问题

Tools->Preferences->Content->Style Options...->My style sheet填入/home/用户名/.opera/styles/user.css
然后Tools->Preferences->Fonts修改成雅黑, "雅黑"在这里可能会是一堆乱码,不过影响什么

 posted on 2008-05-31 19:47  月の祭司  阅读(451)  评论(0编辑  收藏  举报