自定义字体的设置中有标准字体 、Serif 字体 、Sans-serif 字体 、 宽度固定的字体 这几个选项,我也不知道配置成什么比较好,不知道大家有没有什么好的字体推荐
1
lunacory 2017-10-12 20:37:25 +08:00
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");} |
4
camillo 2017-10-13 15:05:55 +08:00
补充一下 下载一个扩展 Advanced Font Settings 可以分语言进行设置
注意把简繁中文 Simplified Han & Traditional Han 改成和 Default 一样的 |
5
opumps 2017-10-14 06:34:31 +08:00 1
我来说一下,用 Advanced Font Settings 依然不够,
后来我用了 [强制*] 的扩展,但仍然要配置很多,虽然效果不错但很麻烦,每次换机器 chrome 就会出问题 再后来我用了 装了 noto 系列字体,更换了扩展—— [钦定字体] win10 cu: Noto Serif CJK SC + Cursive [chrome://settings/fonts] Noto Serif CJK SC Noto Serif CJK SC Noto Sans CJK SC Regular Noto Sans Mono CJK SC Regular |