不用这么麻烦!也不用css文件指定字体!
引用:只要不安装msttcorefonts OPERA的字体就可以在选项里随心所欲地更换。
见
viewtopic.php?t=94928&postdays=0&postorder=asc&start=0
我就是这么弄好的。
用的是opera9.50b2,刚装上调整首选项高级字体之后浏览google还是惨不忍睹。
把以前安装的微软字体删除(只留了一个comic),Opera字体就在各中文编码可以正确显示矢量字体了。
现在opera很漂亮。
原因请看下面的opera -debugfont信息,不知道opera用什么样的机制进行下面的字体评分,导致了
字体不正常:
--------------------------------------
Autodetecting generic CSS fonts (will be overridden by preference settings):
Score for sans-serif font Arial [monotype]: 24
Score for sans-serif font Arial Black [monotype]: 17
Score for serif font Bitstream Charter [bitstream]: 20
Score for sans-serif font Bitstream Vera Sans [bitstream]: 23
Score for monospace font Bitstream Vera Sans Mono [bitstream]: 23
Score for serif font Bitstream Vera Serif [bitstream]: 23
Score for serif font Century Schoolbook L [urw]: 17
Score for fantasy font Comic Sans MS [microsoft]: 17
Score for monospace font Courier 10 Pitch [bitstream]: 20
Score for monospace font Courier New [monotype]: 22
Score for sans-serif font DejaVu Sans [unknown]: 17
Score for monospace font DejaVu Sans Mono [unknown]: 17
Score for sans-serif font DejaVu Sans YuanTi [unknown]: 17
Score for sans-serif font DejaVu Sans YuanTi Mono [unknown]: 17
Score for serif font DejaVu Serif [unknown]: 17
Score for monospace font FreeMono [unknown]: 17
Score for sans-serif font FreeSans [unknown]: 17
Score for serif font FreeSerif [unknown]: 17
Score for monospace font Nimbus Mono L [urw]: 19
Score for serif font Nimbus Roman No9 L [urw]: 21
Score for sans-serif font Nimbus Sans L [urw]: 21
Score for serif font Times New Roman [monotype]: 24
Score for monospace font TlwgMono [unknown]: 17
Score for monospace font TlwgTypewriter [unknown]: 17
Score for serif font URW Bookman L [urw]: 17
Score for fantasy font URW Chancery L [urw]: 17
Score for sans-serif font Verdana [microsoft]: 20
And the winners are:
serif: Times New Roman [monotype]
sans-serif: Arial [monotype]
cursive: Arial [monotype]
fantasy: Comic Sans MS [microsoft]
monospace: Bitstream Vera Sans Mono [bitstream]
----------------------------------------
可以看到最后用了msttcorefonts里的Arial和Times New Roman。导致了字体显示问题。