Chrome 那个设置,对很多网站无效的
建议用 Stylish 来实现
这是我的 Stylish 字体替换表,英文只替换 Tahoma 和 Courier,其他没管,实际上大部分英文网站的字体效果都很好
中文全部用苹方,比冬青黑、雅黑都好。
/* 字体锐利 */
body {-webkit-font-smoothing: subpixel-antialiased !important; }
/* 针对替换 */
html
[lang=zh-CN] { font-family: "PingFang SC", "SF UI Display", "Menlo"; }
[lang=zh-TW] { font-family: "PingFang TC", "SF UI Display", "Menlo"; }
[lang=zh-HK] { font-family: "PingFang TK", "SF UI Display", "Menlo"; }
/* Latin */
@
font-face {font-family: "Tahoma"; src: local("SF UI Display");}
@
font-face {font-family: "Courier"; src: local("Menlo");}
@
font-face {font-family: "Courier New"; src: local("Menlo");}
/* 中文 (简体) */
@
font-face {font-family: "SimSun"; src: local("PingFang SC");}
@
font-face {font-family: "宋体"; src: local("PingFang SC");}
@
font-face {font-family: "NSimSun"; src: local("PingFang SC");}
@
font-face {font-family: "新宋体"; src: local("PingFang SC");}
@
font-face {font-family: "SimHei"; src: local("PingFang SC");}
@
font-face {font-family: "黑体"; src: local("PingFang SC");}
@
font-face {font-family: "Hei"; src: local("PingFang SC");}
@
font-face {font-family: "STSong"; src: local("PingFang SC");}
@
font-face {font-family: "STHeiti SC"; src: local("PingFang SC");}
@
font-face {font-family: "STHeiti"; src: local("PingFang SC");}
@
font-face {font-family: "Microsoft YaHei"; src: local("PingFang SC");}
@
font-face {font-family: "微软雅黑"; src: local("PingFang SC");}
@
font-face {font-family: "Hiragino Sans GB"; src: local("PingFang SC");}
@
font-face {font-family: "WenQuanYi Micro Hei"; src: local("PingFang SC");}
@
font-face {font-family: "文泉驿微米黑"; src: local("PingFang SC");}
@
font-face {font-family: "Lantinghei SC"; src: local("PingFang SC");}
/* 中文 (繁體) */
@
font-face {font-family: "MingLiU"; src: local("PingFang TC");}
@
font-face {font-family: "MingLiU-ExtB"; src: local("PingFang TC");}
@
font-face {font-family: "MingLiU_HKSCS"; src: local("PingFang TC");}
@
font-face {font-family: "MingLiU_HKSCS-ExtB"; src: local("PingFang TC");}
@
font-face {font-family: "PMingLiU"; src: local("PingFang TC");}
@
font-face {font-family: "PMingLiU-ExtB"; src: local("PingFang TC");}
@
font-face {font-family: "STHeiti TC"; src: local("PingFang TC");}
@
font-face {font-family: "Microsoft JhengHei"; src: local("PingFang TC");}