Opera 10.10 for Linux中文字体及输入法的处理
25 十一 2009 4 Comments
in Internet, Linux Tags: Opera, ubuntu, 字体, 微米黑, 文泉驿
听说Opera出了10.10版了,冲着这个版本号……某个日子嘛……我又下载了一遍。为什么说“又”呢,因为之前也有用过,但是字体显示过差,就没有去折腾了。今天算是下了决心解决一下字体问题了。
刚开始到网上下载了一个font.ini文件覆盖到/usr/share/opera/defaults/目录中,却发现并不那么完美。于是自己改动了下那个文件
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | Opera Preferences version 2.1 ; Do not edit this file while Opera is running ; This file is stored in UTF-8 encoding [matches] ; One can disable xft or core fonts if necessary ;engine:xft=blacklist engine:x11=blacklist ; Foundries that are generally known to have bad implementations ;foundry:urw|abiword|ultimo=bad ; Generic settings - families with known glyph types family:times|nimbus roman no9 l|times new roman|bitstream vera serif=serif family:helvetica|nimbus sans l|arial|bitstream vera sans=sans-serif family:courier|courier new|bitstream vera sans mono=monospace ; Generic settings - generic families which have good, readable designs, ; but where we can't be sure the implementation is any good. family:times|times new roman=good family:helvetica|arial=good family:courier|courier new=good family:clearlyu *=good ; Known high-quality fonts family:arial|verdana|times new roman;foundry:microsoft|monotype=excellent family:Nimbus*=verygood foundry:bitstream=excellent ; Known fonts that solves specific problems ;family:mincho|gothic=japanese good try-first family:WenQuanYi Micro Hei=chinese-s excellent try-first family:WenQuanYi Micro Hei=chinese-s verygood try-first family:WenQuanYi Micro Hei=chinese-s good try-first ;family:song|song ti|fangsong*=chinese-s try-first ;family:baekmuk*=korean good try-first ; Fonts that we know should not be used for displaying text family:*dingbat*|*dings*|agathadaimon=symbol ; Specific fonts at the bottom ; Known bad implementations engine:x11;foundry:mdk;family:helvetica=blacklist [default] usage=by-request preference=5 [serif] style=serif [sans-serif] style=sans-serif [monospace] style=monospace [cursive] style=cursive [fantasy] style=fantasy [japanese] style=japanese [chinese-t] style=chinese-t [chinese-s] style=chinese-s [korean] style=korean [try-first] usage=try-first [excellent] preference=8 usage=try-first [verygood] preference=7 usage=try-first [good] preference=6 [bad] preference=4 [avoid] usage=by-request [symbol] usage=by-request [blacklist] usage=blacklist |
也就是把所有字体去掉,只留下WenQuanYi Micro Hei,这下痛快了……
接着在“工具”→“首选项”→“高级”→“字体”中的“浏览器菜单”和“网页字体”都用上“文泉驿微米黑”,“网页<pre>”上选择“文泉驿等宽微米黑”。“国际字体”中选择“简体中文”。
效果如下:




最大的问题是我的blog正文怎么像是楷书而不是黑体字,那这是什么字体呢?
输入法嘛,还算简单,先安装scim-qtimm
sudo apt-get install scim-qtimm
接着
sudo gedit /usr/bin/opera
在
OPERA_BINARYDIR=/usr/lib/opera
之后加入
export export QT_IM_MODULE=SCIM
最后把Ctrl+Space打开主页的快捷键删除即可。
4 Comments (+add yours?)
Leave a Reply
RSS
Twitter
Facebook
新浪微博
Tumblr
十一 26, 2009 @ 23:23:59
我的还好,用Chrome打开Google Reader,排版一切正常。
就是速度感觉没有firefox优化的好。
给评论打分:
0
0
十一 26, 2009 @ 18:31:01
话说婉秋姐你在ubuntu下用chrome不??在GR里显示那文字绝对叫个乱啊…..( ̄. ̄)
给评论打分:
0
0
十一 26, 2009 @ 19:54:15
你是说用Google Chrome上Google Reader么?那排版是一片混乱啊……
而且速度特别慢………
给评论打分:
0
0