北漂IT民工 的博客

Ubuntu 下面Opera字体美化

找到~/.opera/operarefs.ini文件。

分别将CSS Generic Font Family与Fonts段替换成下面的形式。

马上你的Opera中文就有了一个好看的字体。


[CSS Generic Font Family]

Serif=文泉驿正黑 [unknown]

Sans-Serif=文泉驿正黑 [unknown]

Cursive=文泉驿正黑 [unknown]

Fantasy=文泉驿正黑 [unknown]

Monospace=文泉驿正黑 [unknown]


[Fonts]

EmailCompose=12,4,0,0,0,0,文泉驿正黑 [unknown]

Dialog=12,4,0,0,0,0,文泉驿正黑 [unknown]

Email=13,4,0,0,0,0,文泉驿正黑 [unknown]

Form.Button=12,4,0,0,0,0,文泉驿正黑 [unknown]

Form.Input=12,4,0,0,0,0,文泉驿正黑 [unknown]

Form.Text=12,4,0,0,0,0,文泉驿正黑 [unknown]

H1=32,7,0,0,0,0,文泉驿正黑 [unknown]

H2=24,7,0,0,0,0,文泉驿正黑 [unknown]

H3=18,7,0,0,0,0,文泉驿正黑 [unknown]

H4=16,7,0,0,0,0,文泉驿正黑 [unknown]

H5=13,7,0,0,0,0,文泉驿正黑 [unknown]

H6=12,7,0,0,0,0,文泉驿正黑 [unknown]

HTMLCompose=16,4,0,0,0,0,文泉驿正黑 [unknown]

Menu=12,4,0,0,0,0,文泉驿正黑 [unknown]

Normal=16,4,0,0,0,0,文泉驿正黑 [unknown]

PRE=16,4,0,0,0,0,文泉驿正黑 [unknown]

Panel=12,4,0,0,0,0,文泉驿正黑 [unknown]

Toolbar=12,4,0,0,0,0,文泉驿正黑 [unknown]

Tooltip=12,4,0,0,0,0,文泉驿正黑 [unknown]


效果图: