Skip to content

字体顺序调整建议 #802

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
xingrz opened this issue Sep 9, 2015 · 13 comments
Closed

字体顺序调整建议 #802

xingrz opened this issue Sep 9, 2015 · 13 comments
Assignees

Comments

@xingrz
Copy link

xingrz commented Sep 9, 2015

目前状况

目前(2015/09/09)CMD的字体样式是这样的:

font-family: Microsoft Yahei, Hiragino Sans GB, WenQuanYi Micro Hei, sans-serif;

微软雅黑优先级高于冬青黑体简体中文(Hiragino Sans GB)。

存在的问题

Mac OS X 上(印象中至少从 10.8 开始就)自带了微软雅黑,而冬青黑体(同样是自带)在 Mac OS X 上的显示效果要远远好于微软雅黑。即是说,这个顺序导致本该更优秀的冬青黑体没有起作用。

建议

Hiragino Sans GB 提前到 Microsoft Yahei 之前

更进一步的建议

从 Mac OS X 10.11 El Capitan(目前处于公测阶段,尚未正式推送)开始,新增了比上述两款字体更加优秀的苹方黑体(PingFang SC),建议将这个字体加入在 font-family 最前,以便在系统有这个字体的情况下优先使用。

总结

就显示效果来说,在 Mac 上:PingFang SC > Hiragino Sans GB > Microsoft Yahei

就兼容性来说:绝大部分 OS X 自带 Hiragino Sans GBMicrosoft Yahei,即将自带 PingFang SC

建议 CSS 更改如下:

font-family: PingFang SC, Hiragino Sans GB, Microsoft Yahei, WenQuanYi Micro Hei, sans-serif;

截图对比

目前效果
上图:目前只有微软雅黑起作用的效果

冬青
上图:将冬青提到雅黑之前的效果

苹方
上图:在字体列表前面加入苹方的效果

@xingrz
Copy link
Author

xingrz commented Sep 10, 2015

另外,兰亭黑(Lantinghei SC)也是 Mac OS X 上自带的一款很不错的中文字体,现在 36kr 就用了这个字体。

@ghosert
Copy link
Owner

ghosert commented Sep 10, 2015

很好的建议,有时间会尽量采纳,原来意味 MAC 上不会有微软雅黑,不知道为什么也会有?是因为装了 微软的软件吗?

@xingrz
Copy link
Author

xingrz commented Sep 10, 2015

哦,原来是因为我安装过 Microsoft Office for Mac,所以系统有了微软雅黑…

@liuquanqing
Copy link

支持,『微软雅黑和方正兰亭黑是兄弟字体,分别为屏幕和印刷优化。
雅黑用的是 Segoe UI 的变体,而兰亭黑是仿 Helvetica 风格』

@liuquanqing
Copy link

@ghosert

@ghosert ghosert self-assigned this Sep 28, 2015
@ghosert
Copy link
Owner

ghosert commented Sep 28, 2015

这种改法对 WINDOWS 用户有何影响?他们有 东青 和 苹方 字体吗?

@xingrz
Copy link
Author

xingrz commented Sep 28, 2015

@ghosert 不会,他们会回退到微软雅黑。

@ghosert
Copy link
Owner

ghosert commented Sep 28, 2015

好的,我国庆里改下,国庆后更新。

@liuquanqing
Copy link

。。 现在还是编辑栏的字间距大的不行,字体好像也没变化

@liuquanqing
Copy link

@ghosert

@ghosert
Copy link
Owner

ghosert commented Dec 6, 2015

@ghosert ghosert closed this as completed Dec 6, 2015
@xingrz
Copy link
Author

xingrz commented Dec 6, 2015

感谢,这次真的爱不释手了

@liuquanqing
Copy link

赞!

2015-12-06 17:27 GMT+08:00 XiNGRZ notifications@github.com:

感谢,这次真的爱不释手了


Reply to this email directly or view it on GitHub
#802 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants