在Windows上与MacOS的差异大小字体渲染。如何解决? [英] Difference size font rendering on Windows VS MacOS. How to solve?

查看:635
本文介绍了在Windows上与MacOS的差异大小字体渲染。如何解决?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在想自己为什么在Windows上我的字体看起来更小,比在OSX上更疯狂。

I've been wondering myself why on windows my font looks smaller, and much crappier than on OSX.

截图Mac VS Windows: http://screencast.com/t/UUxqLRhM

Screenshot Mac VS Windows : http://screencast.com/t/UUxqLRhM

是因为我在一些规则而不是px上使用em?

Is that because i used "em" on some rules instead of "px" ?

谢谢。

推荐答案

(这是来自一个评论,但我会发布为一个答案。)

(This is from a comment, but I'll post as an answer.)

这是什么都不是你的结束,罪魁祸首是不同的字体渲染引擎。 Mac OS X尝试完全按照他们的设计渲染字体,而Windows尝试稍微改变它们,以使它们更可读。问题是,对于某些字体和大小,它实际上使它们看起来更糟。 (本文是关于此主题的好读物。)

This is nothing on your end, and the culprit is different font rendering engines. Mac OS X tries to render fonts exactly as they were designed, whereas Windows tries to alter them slightly to make them more readable. The problem is, with certain fonts and sizes, it actually makes them look worse. (This article is a good read on the subject.)

如果你使字体更大,它可能会使它看起来更好的Windows。我敢说,如果你删除粗体字体,它也会看起来更干净。你也可以尝试不同的字体。

If you make the font bigger, it will probably make it look better on Windows. I would venture to say that if you removed the bold font-weight, it would also look cleaner. You could also try a different font.

总的来说,你可以做的只是玩不同的设置,看看什么看起来不错,什么不是;实际渲染是无法控制的。

Overall though, all you can do is just play with different settings and see what looks good and what doesn't; the actual rendering is out of your control.

这篇关于在Windows上与MacOS的差异大小字体渲染。如何解决?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆